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