Sha256: 69b43ddb95c25d0b6d38da1c4b9832606f5738525709dd0a55820cf59fc12f4f
Contents?: true
Size: 677 Bytes
Versions: 5
Compression:
Stored size: 677 Bytes
Contents
module TheCity class GroupExportListReader < ApiReader # Constructor. # # @param options A hash of options for requesting data from the server. # :: group_id is required # @param [CacheAdapter] cacher (optional) The cacher to be used to cache data. def initialize(options = {}, cacher = nil) page = options[:page] || 1 group_id = options[:group_id] @class_key = "groups_#{group_id}_exports" @url_data_path = "/groups/#{group_id}/exports" @url_data_params = {:page => page} # The object to store and load the cache. @cacher = cacher unless cacher.nil? end end end
Version data entries
5 entries across 5 versions & 1 rubygems