Skip to content

Commit

Permalink
set qualified message key converter
Browse files Browse the repository at this point in the history
  • Loading branch information
Arturo Guzman committed Jun 10, 2013
1 parent 7af5a08 commit adfdc04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/savon/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def to_s
translated_operation_name = Gyoku.xml_tag(@operation_name, :key_converter => @key_converter).to_s
# XXX: there is no `@request_key_converter` instance variable!
# the third argument is therefore always `nil`. [dh, 2013-03-09]
@message = QualifiedMessage.new(@types, @used_namespaces, @request_key_converter).to_hash(@message, [translated_operation_name])
@message = QualifiedMessage.new(@types, @used_namespaces, @key_converter).to_hash(@message, [translated_operation_name])
end

gyoku_options = {
Expand Down
2 changes: 1 addition & 1 deletion lib/savon/qualified_message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def to_hash(hash, path)
)
else
add_namespaces_to_values(value, path) if key == :order!
newhash.merge(key => value)
newhash.merge(translated_key => value)
end
end
end
Expand Down

0 comments on commit adfdc04

Please sign in to comment.