Sha256: be1ea2478a128c0aaedc638474847df80fd1c7d3ffa394a0a6fa5ab3b54f9827
Contents?: true
Size: 612 Bytes
Versions: 4
Compression:
Stored size: 612 Bytes
Contents
module ChartMogul module Import module Transactions class Refund < APIResource set_resource_name 'Refund Transaction' set_resource_path '/v1/import/invoices/:invoice_uuid/transactions' readonly_attr :uuid writeable_attr :type, default: 'refund' writeable_attr :date, type: :time writeable_attr :result writeable_attr :external_id writeable_attr :invoice_uuid def initialize(attributes = {}) super(attributes) @type = 'refund' end include API::Actions::Create end end end end
Version data entries
4 entries across 4 versions & 1 rubygems