Class: ChartMogul::Transactions::Payment
- Inherits:
-
APIResource
- Object
- Object
- APIResource
- ChartMogul::Transactions::Payment
- Includes:
- API::Actions::Create
- Defined in:
- lib/chartmogul/transactions/payment.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
-
#initialize(attributes = {}) ⇒ Payment
constructor
A new instance of Payment.
Methods included from API::Actions::Create
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 = {}) ⇒ Payment
Returns a new instance of Payment.
19 20 21 22 |
# File 'lib/chartmogul/transactions/payment.rb', line 19 def initialize(attributes = {}) super(attributes) @type = 'payment' end |