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