Sha256: 648899e18d54e99a8ddc0900c1106a035cd46adc7b818576e9c4a46398827d59
Contents?: true
Size: 290 Bytes
Versions: 6
Compression:
Stored size: 290 Bytes
Contents
module FirstjobApi class Career CAREERS = YAML.load_file(File.join(File.dirname(__FILE__),"../data/careers.yaml"))["careers"].symbolize_keys! # Poor's man all def self.all CAREERS end # Poor's man find def self.find(id) CAREERS[id] end end end
Version data entries
6 entries across 6 versions & 1 rubygems