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