Sha256: 5da459a44dc5672defc53cdd468406f7cdcc01c48ffba8f72df54644f83ad3d4
Contents?: true
Size: 612 Bytes
Versions: 7
Compression:
Stored size: 612 Bytes
Contents
module TheCity class InvitationListReader < 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 #@class_key = "invitations_#{page}" @url_data_path = "/invitations" @url_data_params = {:page => page} # The object to store and load the cache. @cacher = cacher unless cacher.nil? end end end
Version data entries
7 entries across 7 versions & 1 rubygems