Class: IB::Messages::Incoming::ManagedAccounts
- Defined in:
- lib/ib/messages/incoming/account_value.rb
Instance Method Summary collapse
Instance Method Details
#accounts ⇒ Object
11 12 13 |
# File 'lib/ib/messages/incoming/account_value.rb', line 11 def accounts accounts_list.split(',').map{|a| Account.new account: a} end |
#to_human ⇒ Object
15 16 17 |
# File 'lib/ib/messages/incoming/account_value.rb', line 15 def to_human "< ManagedAccounts: #{accounts.map(&:account).join(" - ")}>" end |