Skip to content

Commit

Permalink
add extra fileds in initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonias committed Mar 21, 2013
1 parent 8dbdd17 commit 98d821c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fix_engine/fix/message.rb
Expand Up @@ -120,6 +120,7 @@ def initialize(session, msg_type, extra_fields = {})
self.add_field("MsgType", @msg_type || msg_type)

@extra_fields = extra_fields
add_extra_fields
end

def reset
Expand Down Expand Up @@ -174,7 +175,6 @@ def value
add_required_header_fields
add_sending_time_filed
add_message_definition_fields
add_extra_fields

msg_to_string
end
Expand Down

0 comments on commit 98d821c

Please sign in to comment.