Class: SlidePay::BankAccount
- Inherits:
-
ApiResource
- Object
- Hash
- ApiResource
- SlidePay::BankAccount
- Defined in:
- lib/slidepay/resources/bank_account.rb
Instance Attribute Summary
Attributes inherited from ApiResource
#api_key, #endpoint, #id_attribute, #token, #url_root
Instance Method Summary collapse
-
#initialize(values_hash = {}) ⇒ BankAccount
constructor
A new instance of BankAccount.
Methods inherited from ApiResource
api_resource_array_from_response, #destroy, find, find_between, find_greater_than, find_less_than, find_where, #id, #is_new?, #populate_from_response, #retrieve, retrieve, #save, #url
Constructor Details
#initialize(values_hash = {}) ⇒ BankAccount
Returns a new instance of BankAccount.
6 7 8 9 10 11 |
# File 'lib/slidepay/resources/bank_account.rb', line 6 def initialize(values_hash={}) @url_root = "bank_account" @id_attribute = "bank_account_id" super(values_hash) end |