Class: IB::OutgoingMessages::ReplaceFA

Inherits:
AbstractMessage show all
Defined in:
lib/ib-ruby/messages.rb

Overview

No idea what this is. data = { :fa_data_type => int, :xml => string }

Instance Attribute Summary

Attributes inherited from ExtremelyAbstractMessage

#created_at

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractMessage

#initialize, #send

Methods inherited from ExtremelyAbstractMessage

#to_human

Constructor Details

This class inherits a constructor from IB::OutgoingMessages::AbstractMessage

Class Method Details

.message_idObject



502
503
504
# File 'lib/ib-ruby/messages.rb', line 502

def self.message_id
  19
end

Instance Method Details

#queue(server) ⇒ Object



506
507
508
509
510
511
512
513
514
# File 'lib/ib-ruby/messages.rb', line 506

def queue(server)
  requireVersion(server, 13)

  [ self.class.message_id,
    1, # version
    @data[:fa_data_type],
    @data[:xml]
  ]
end