Class: Nurego::PaymentMethod
- Inherits:
-
APIResource
- Object
- NuregoObject
- APIResource
- Nurego::PaymentMethod
- Defined in:
- lib/nurego/payment_method.rb
Instance Attribute Summary
Attributes inherited from NuregoObject
Class Method Summary collapse
Instance Method Summary collapse
Methods included from APIOperations::List
Methods included from APIOperations::Update
Methods included from APIOperations::Create
Methods inherited from APIResource
Methods inherited from NuregoObject
#[], #[]=, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Nurego::NuregoObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Nurego::NuregoObject
Class Method Details
.retrieve(id, api_key = nil) ⇒ Object
11 12 13 |
# File 'lib/nurego/payment_method.rb', line 11 def self.retrieve(id, api_key = nil) raise NotImplementedError.new("Payment Method cannot be retrieved without a organization ID. Retrieve a paymentmethod using organization.paymentmethod") end |
Instance Method Details
#url ⇒ Object
7 8 9 |
# File 'lib/nurego/payment_method.rb', line 7 def url PaymentMethod.url end |