Sha256: 4598ba4d96d9d7bd6ede15fb6a6855328bcf5c4160b3f65c956c826bad538681
Contents?: true
Size: 616 Bytes
Versions: 4
Compression:
Stored size: 616 Bytes
Contents
module ChartMogul module Import 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 end
Version data entries
4 entries across 4 versions & 1 rubygems