Class: IB::IncomingMessages::AccountValue
Overview
Instance Attribute Summary
#data
#created_at
Class Method Summary
collapse
Instance Method Summary
collapse
inherited, #initialize
Class Method Details
.message_id ⇒ Object
1137
1138
1139
|
# File 'lib/ib-ruby/messages.rb', line 1137
def self.message_id
6
end
|
Instance Method Details
#load ⇒ Object
1141
1142
1143
1144
|
# File 'lib/ib-ruby/messages.rb', line 1141
def load
autoload([:version, :int], [:key, :string], [:value, :string], [:currency, :string])
version_load(2, [:account_name, :string])
end
|
#to_human ⇒ Object
1146
1147
1148
|
# File 'lib/ib-ruby/messages.rb', line 1146
def to_human
"<AccountValue: acct ##{@data[:account_name]}; #{@data[:key]}=#{@data[:value]} (#{@data[:currency]})>"
end
|