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