Class: Hyperwallet::Program
- Inherits:
-
HyperwalletObject
- Object
- HyperwalletObject
- Hyperwallet::Program
- Defined in:
- lib/hyperwallet/program.rb
Defined Under Namespace
Classes: Account
Instance Attribute Summary
Attributes inherited from HyperwalletObject
Class Method Summary collapse
Methods inherited from HyperwalletObject
attributes, construct_from, convert_to_hyperwallet_object, #initialize, #method_missing, relations, #respond_to_missing?
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
.find(program_key) ⇒ Object
4 5 6 7 |
# File 'lib/hyperwallet/program.rb', line 4 def self.find(program_key) res = Hyperwallet.request(:get, "/programs/#{program_key}") convert_to_hyperwallet_object(res, Program) end |