Class: ChartMogul::Transactions::Payment
- Inherits:
-
APIResource
- Object
- Object
- APIResource
- ChartMogul::Transactions::Payment
- Includes:
- API::Actions::Create
- Defined in:
- lib/chartmogul/transactions/payment.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Payment
constructor
A new instance of Payment.
Methods included from API::Actions::Create
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 |