Class: ChartMogul::Transactions::Refund

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

Constant Summary

Constants inherited from APIResource

APIResource::BACKOFF_FACTOR, APIResource::INTERVAL, APIResource::INTERVAL_RANDOMNESS, APIResource::MAX_INTERVAL, APIResource::RETRY_EXCEPTIONS, APIResource::RETRY_STATUSES, APIResource::THREAD_CONNECTION_KEY

Instance Method Summary collapse

Methods included from API::Actions::Create

#create!, included

Methods inherited from APIResource

build_connection, build_query_path, connection, custom_with_query_params!, #custom_with_query_params!, extract_query_params, #extract_query_params, handle_other_error, handle_request_error, handling_errors, immutable_keys, json_patch, json_post, json_put, #path_with_query_params, query_params, set_immutable_keys, set_resource_name, set_resource_path, set_resource_root_key, writeable_query_param

Constructor Details

#initialize(attributes = {}) ⇒ Refund

Returns a new instance of Refund.



19
20
21
22
# File 'lib/chartmogul/transactions/refund.rb', line 19

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