Sha256: a6033ec884d80288f6892923028a0da147573dfe07cfffe2f4395f2a3f79c004

Contents?: true

Size: 667 Bytes

Versions: 15

Compression:

Stored size: 667 Bytes

Contents

module TheCity

  class DonationExportReader < ApiReader

    # Constructor.
    #
    # @param donation_export_id The ID of the donation export 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(donation_export_id, options = {}, cacher = nil)
      #@class_key = "donation_export_#{donation_export_id}"   
      @url_data_path = "/donations/exports/#{donation_export_id}"
      @url_data_params = options
      
      # The object to store and load the cache.
      @cacher = cacher unless cacher.nil?    
    end
    
  end

end


Version data entries

15 entries across 15 versions & 1 rubygems

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