Sha256: 6bac85ec28fd55a7c650b9af38c79a500e0083a0b3e828ef68989da07d8ea6bb

Contents?: true

Size: 464 Bytes

Versions: 5

Compression:

Stored size: 464 Bytes

Contents

module TheCity

  class GroupReader < ApiReader

    # Constructor.
    #
    # <b>group_id</b> The ID of the group to load.
    # <b>CacheAdapter cacher</b> (optional) The cacher to be used to cache data.
    def initialize(group_id, cacher = nil)
      @class_key = "groups_#{group_id}"   
      @url_data_path = "/groups/#{group_id}"
      
      # 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

Version Path
the-city-admin-0.1.4 lib/readers/group_reader.rb
the-city-admin-0.1.3 lib/readers/group_reader.rb
the-city-admin-0.1.2 lib/readers/group_reader.rb
the-city-admin-0.1.1 lib/readers/group_reader.rb
the-city-admin-0.1.0 lib/readers/group_reader.rb