Sha256: 554bcebe0cf38b61d5171e03897cff7653698e2dcc172dbbbf2e850ba7647544

Contents?: true

Size: 588 Bytes

Versions: 19

Compression:

Stored size: 588 Bytes

Contents

module TheCity

  class GroupReader < ApiReader

    # Constructor.
    #
    # @param group_id The ID of the group to load.
    # @param options A hash of options for requesting data from the server.
    # @param cacher (optional) The CacheAdapter cacher to be used to cache data.
    def initialize(group_id, options = {}, cacher = nil)
      #@class_key = "groups_#{group_id}"   
      @url_data_path = "/groups/#{group_id}"
      @url_data_params = options
      
      # The object to store and load the cache.
      @cacher = cacher unless cacher.nil?    
    end
    
  end

end


Version data entries

19 entries across 19 versions & 1 rubygems

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