lib/soaspec/exchange_handlers/rest_handler.rb in soaspec-0.0.47 vs lib/soaspec/exchange_handlers/rest_handler.rb in soaspec-0.0.48
- old
+ new
@@ -220,10 +220,10 @@
result.inner_text
end
# Based on a exchange, return the value at the provided xpath
# If the path does not begin with a '/', a '//' is added to it
- # @param [Exchange] exchange
+ # @param [Response] response
# @param [Object] path Xpath, JSONPath or other path identifying how to find element
# @return [String] Value at Xpath
def value_from_path(response, path)
path = path.to_s
case Interpreter.response_type_for(response)
\ No newline at end of file