Skip to content

Commit ff464bd

Browse files
Add option no_message_tag
This option is used to indicate that the user does not wish to encapsulate the message in a 'message tag'.
1 parent 31c0141 commit ff464bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/savon/options.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def initialize(options = {})
5858
:multipart => false,
5959
:adapter => nil,
6060
:use_wsa_headers => false,
61+
:no_message_tag => false
6162
}
6263

6364
options = defaults.merge(options)
@@ -277,6 +278,10 @@ def adapter(adapter)
277278
def use_wsa_headers(use)
278279
@options[:use_wsa_headers] = use
279280
end
281+
282+
def no_message_tag(bool)
283+
@options[:no_message_tag] = bool
284+
end
280285
end
281286

282287
class LocalOptions < Options

0 commit comments

Comments
 (0)