Sha256: 7a02194958ffce5071c4d5df19ee7da7dc186ce13a541ba159e5cb2d3c9ccc71
Contents?: true
Size: 465 Bytes
Versions: 15
Compression:
Stored size: 465 Bytes
Contents
module TheCity class DonationExportWriter < ApiWriter # Constructor. # # @param data The json data to save. def initialize(data) if data[:id] @url_action = :put @url_data_path = nil # not implemented else @url_action = :post @url_data_path = '/donations/exports' end @url_data_delete_path = "/donations/exports/#{data[:id]}" @url_data_params = data end end end
Version data entries
15 entries across 15 versions & 1 rubygems