lib/soaspec/exchange.rb in soaspec-0.0.30 vs lib/soaspec/exchange.rb in soaspec-0.0.31
- old
+ new
@@ -37,10 +37,10 @@
def status_code
@api_class.status_code_for(self.response)
end
# Extract value from path api class
- # @param [String] path Path to return element for api class E.g - for SOAP this is XPath
+ # @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(self, path)
end
\ No newline at end of file