Sha256: ad3ab10eb16008b5da1a0200100d587ccb6ebe709dcb2730f8733c547b6ad507
Contents?: true
Size: 587 Bytes
Versions: 8
Compression:
Stored size: 587 Bytes
Contents
# frozen_string_literal: true module ChartMogul 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
Version data entries
8 entries across 8 versions & 1 rubygems