lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.0.50 vs lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.0.51
- old
+ new
@@ -101,16 +101,9 @@
rescue Savon::HTTPError => e
e
end
end
- # Set the default hash representing data to be used in making a request
- # This will set the @request_option instance variable too
- def default_hash=(hash)
- @request_option = :hash
- @default_hash = Soaspec.always_use_keys? ? hash.transform_keys_to_symbols : hash
- end
-
# @param [Hash] format Format of expected result
# @return [Object] Generic body to be displayed in error messages
def response_body(response, format: :hash)
case format
when :hash
\ No newline at end of file