Sha256: d6b68739c6a5c3bb410fac809329bb0593a04ed36ff34ad196a93c1175c397da
Contents?: true
Size: 537 Bytes
Versions: 21
Compression:
Stored size: 537 Bytes
Contents
module TheCity class TagReader < ApiReader # Constructor. # # @param tag_id The ID of the tag to load. # @param options (optional) Options for including more information. # @param [CacheAdapter] cacher (optional) The cacher to be used to cache data. def initialize(tag_id, options = {}, cacher = nil) #@class_key = "tags_#{tag_id}" @url_data_path = "/tags/#{tag_id}" # The object to store and load the cache. @cacher = cacher unless cacher.nil? end end end
Version data entries
21 entries across 21 versions & 1 rubygems