Class: Hyperwallet::Payment
- Inherits:
-
HyperwalletObject
- Object
- HyperwalletObject
- Hyperwallet::Payment
- Defined in:
- lib/hyperwallet/payment.rb
Class Method Summary collapse
Methods inherited from HyperwalletObject
attributes, construct_from, convert_to_hyperwallet_object, #initialize, #method_missing, relations
Constructor Details
This class inherits a constructor from Hyperwallet::HyperwalletObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Hyperwallet::HyperwalletObject
Class Method Details
.create(params = {}) ⇒ Object
4 5 6 7 |
# File 'lib/hyperwallet/payment.rb', line 4 def self.create(params={}) res = Hyperwallet.request(:post, '/payments', params) convert_to_hyperwallet_object(res, Payment) end |