Class: Bcash::Api::AccountResponse
- Defined in:
- lib/bcash/api/account_response.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Response
#body, #code, #http_code, #message, #success
Instance Method Summary collapse
Methods inherited from Response
#errors, #initialize, #messages, #success?
Constructor Details
This class inherits a constructor from Bcash::Api::Response
Instance Method Details
#accounts ⇒ Object
3 4 5 |
# File 'lib/bcash/api/account_response.rb', line 3 def accounts body['accounts'] || [] end |
#cpf ⇒ Object
7 8 9 |
# File 'lib/bcash/api/account_response.rb', line 7 def cpf body['cpf'] end |
#email ⇒ Object
11 12 13 |
# File 'lib/bcash/api/account_response.rb', line 11 def email body['email'] end |