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

Version Path
the-city-admin-0.7.1 lib/readers/tag_reader.rb
the-city-admin-0.7.0 lib/readers/tag_reader.rb
the-city-admin-0.6.9 lib/readers/tag_reader.rb
the-city-admin-0.6.8 lib/readers/tag_reader.rb
the-city-admin-0.6.7 lib/readers/tag_reader.rb
the-city-admin-0.6.6 lib/readers/tag_reader.rb
the-city-admin-0.6.5 lib/readers/tag_reader.rb
the-city-admin-0.6.4 lib/readers/tag_reader.rb
the-city-admin-0.6.3 lib/readers/tag_reader.rb
the-city-admin-0.6.2 lib/readers/tag_reader.rb
the-city-admin-0.6.1 lib/readers/tag_reader.rb
the-city-admin-0.6.0 lib/readers/tag_reader.rb
the-city-admin-0.5.2 lib/readers/tag_reader.rb
the-city-admin-0.5.1 lib/readers/tag_reader.rb
the-city-admin-0.5.0 lib/readers/tag_reader.rb
the-city-admin-0.4.0 lib/readers/tag_reader.rb
the-city-admin-0.3.1 lib/readers/tag_reader.rb
the-city-admin-0.3.0 lib/readers/tag_reader.rb
the-city-admin-0.2.1 lib/readers/tag_reader.rb
the-city-admin-0.2.0 lib/readers/tag_reader.rb