lib/soaspec/exchange.rb in soaspec-0.0.45 vs lib/soaspec/exchange.rb in soaspec-0.0.46

- old
+ new

@@ -92,9 +92,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(self, path) + @api_class.value_from_path(response, path) end end \ No newline at end of file