Sha256: 41159652b117a608ba9acfefe0424d0ca22d0fec5dadeb40a9e61655b7b6b22f
Contents?: true
Size: 463 Bytes
Versions: 16
Compression:
Stored size: 463 Bytes
Contents
module TheCity class SkillReader < ApiReader # Constructor. # # <b>skill_id</b> The ID of the skill to load. # <b>CacheAdapter cacher</b> (optional) The cacher to be used to cache data. def initialize(skill_id, cacher = nil) #@class_key = "funds_#{fund_id}" @url_data_path = "/skills/#{skill_id}" # The object to store and load the cache. @cacher = cacher unless cacher.nil? end end end
Version data entries
16 entries across 16 versions & 1 rubygems