lib/soaspec/exchange.rb in soaspec-0.0.47 vs lib/soaspec/exchange.rb in soaspec-0.0.48
- old
+ new
@@ -93,9 +93,9 @@
# Extract value from path api class
# @param [Object] path Path to return element for api class E.g - for SOAP this is XPath string. For JSON, this is Hash dig Array
# @return [String] Value at path
def [](path)
- @api_class.value_from_path(response, path)
+ @api_class.value_from_path(response, path.to_s)
end
end
\ No newline at end of file