Class: Moneta::Api::Responses::FindBankAccountsResponse
- Inherits:
-
Object
- Object
- Moneta::Api::Responses::FindBankAccountsResponse
- Includes:
- DataMapper
- Defined in:
- lib/moneta/api/responses/find_bank_accounts_response.rb
Instance Method Summary collapse
Methods included from DataMapper
Instance Method Details
#get_account(number) ⇒ Object
11 12 13 |
# File 'lib/moneta/api/responses/find_bank_accounts_response.rb', line 11 def get_account(number) bank_account.detect { |account| account.id.to_s == number.to_s } end |