Class: PFS::Resources::Accounts::AccountInfo
- Defined in:
- lib/pfs/resources/accounts/account_info.rb
Instance Attribute Summary collapse
-
#balance ⇒ Object
readonly
Returns the value of attribute balance.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(response, attributes = {}) ⇒ AccountInfo
constructor
A new instance of AccountInfo.
Methods inherited from Base
Constructor Details
#initialize(response, attributes = {}) ⇒ AccountInfo
Returns a new instance of AccountInfo.
31 32 33 34 |
# File 'lib/pfs/resources/accounts/account_info.rb', line 31 def initialize(response, attributes = {}) super(response, attributes) @balance = Balance.new(response, attributes[:balance]) end |
Instance Attribute Details
#balance ⇒ Object (readonly)
Returns the value of attribute balance.
7 8 9 |
# File 'lib/pfs/resources/accounts/account_info.rb', line 7 def balance @balance end |