Class: ChartMogul::Transactions::Refund
- Inherits:
-
APIResource
- Object
- Object
- APIResource
- ChartMogul::Transactions::Refund
- Includes:
- API::Actions::Create
- Defined in:
- lib/chartmogul/transactions/refund.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Refund
constructor
A new instance of Refund.
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 = {}) ⇒ Refund
Returns a new instance of Refund.
16 17 18 19 |
# File 'lib/chartmogul/transactions/refund.rb', line 16 def initialize(attributes = {}) super(attributes) @type = 'refund' end |