Class: Bcash::Api::AccountNotValidResponse
- Defined in:
- lib/bcash/api/account_not_valid_response.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
Attributes inherited from Response
#body, #code, #http_code, #success
Instance Method Summary collapse
-
#initialize(account) ⇒ AccountNotValidResponse
constructor
A new instance of AccountNotValidResponse.
- #message ⇒ Object
Methods inherited from Response
Constructor Details
#initialize(account) ⇒ AccountNotValidResponse
Returns a new instance of AccountNotValidResponse.
5 6 7 8 |
# File 'lib/bcash/api/account_not_valid_response.rb', line 5 def initialize(account) self.success = false self.account = account end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
3 4 5 |
# File 'lib/bcash/api/account_not_valid_response.rb', line 3 def account @account end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/bcash/api/account_not_valid_response.rb', line 10 def @account. end |