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