Class: Fix::Protocol::MessageHeader

Inherits:
MessagePart show all
Defined in:
lib/fix/protocol/message_header.rb

Overview

The standard FIX message header

Instance Attribute Summary

Attributes inherited from MessagePart

#name, #parse_failure

Instance Method Summary collapse

Methods inherited from MessagePart

collection, #dump, field, inherited, #initialize, #initialize_node, #node_for_name, #nodes, parse, #parse, part, structure

Constructor Details

This class inherits a constructor from Fix::Protocol::MessagePart

Instance Method Details

#errorsArray<String>

Returns the errors relevant to the message header

Returns:

  • (Array<String>)

    The errors on the message header



24
25
26
27
28
29
30
# File 'lib/fix/protocol/message_header.rb', line 24

def errors
  if version == 'FIX.4.4'
    super
  else
    [super, "Unsupported version: <#{version}>"].flatten
  end
end