Sha256: ac542a0f3c12b023f005bfe9bb24ea02d15fdbc74eadab3b5fa0db736d9ee432

Contents?: true

Size: 575 Bytes

Versions: 9

Compression:

Stored size: 575 Bytes

Contents

module TheCity

  class TerminologyListReader < ApiReader

    # Constructor.
    #
    # @param options A hash of options for requesting data from the server.
    # @param [CacheAdapter] cacher (optional) The cacher to be used to cache data.
    def initialize(options = {}, cacher = nil) 
      page = options[:page] || 1

      #@class_key = "terminology_list_#{page}"   
      @url_data_path = "/terminology"
      @url_data_params = {:page => page}
      
      # The object to store and load the cache.
      @cacher = cacher unless cacher.nil?    
    end

  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
the-city-admin-0.5.2 lib/readers/terminology_list_reader.rb
the-city-admin-0.5.1 lib/readers/terminology_list_reader.rb
the-city-admin-0.5.0 lib/readers/terminology_list_reader.rb
the-city-admin-0.4.0 lib/readers/terminology_list_reader.rb
the-city-admin-0.3.1 lib/readers/terminology_list_reader.rb
the-city-admin-0.3.0 lib/readers/terminology_list_reader.rb
the-city-admin-0.2.1 lib/readers/terminology_list_reader.rb
the-city-admin-0.2.0 lib/readers/terminology_list_reader.rb
the-city-admin-0.1.5 lib/readers/terminology_list_reader.rb