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