Class: Moneta::Api::Responses::FindBankAccountsResponse

Inherits:
Object
  • Object
show all
Includes:
DataMapper
Defined in:
lib/moneta/api/responses/find_bank_accounts_response.rb

Instance Method Summary collapse

Methods included from DataMapper

#fill, #to_hash

Instance Method Details

#get_account(number) ⇒ Object



11
12
13
# File 'lib/moneta/api/responses/find_bank_accounts_response.rb', line 11

def (number)
  .detect { || .id.to_s == number.to_s }
end