Class: ChartMogul::Transactions::Payment

Inherits:
APIResource
  • Object
show all
Includes:
API::Actions::Create
Defined in:
lib/chartmogul/transactions/payment.rb

Instance Method Summary collapse

Methods included from API::Actions::Create

#create!, included

Methods inherited from APIResource

connection, handle_other_error, handle_request_error, handling_errors, set_resource_name, set_resource_path, set_resource_root_key

Constructor Details

#initialize(attributes = {}) ⇒ Payment

Returns a new instance of Payment.



16
17
18
19
# File 'lib/chartmogul/transactions/payment.rb', line 16

def initialize(attributes = {})
  super(attributes)
  @type = 'payment'
end