Sha256: 6da60b670695477dae194b53d656ff001a4f7441d222d749a4ff9f5f537f4e3d
Contents?: true
Size: 584 Bytes
Versions: 3
Compression:
Stored size: 584 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chartmogul-ruby-1.1.5 | lib/chartmogul/transactions/payment.rb |
chartmogul-ruby-1.1.4 | lib/chartmogul/transactions/payment.rb |
chartmogul-ruby-1.1.2 | lib/chartmogul/transactions/payment.rb |