lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.0.79 vs lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.0.80
- old
+ new
@@ -186,10 +186,10 @@
results.first.attributes[attribute].inner_text
end
# @return [Enumerable] List of values returned from path
def values_from_path(response, path, attribute: nil)
- xpath_elements_for(response: response, xpath: path, attribute: attribute).map(&:inner_text) # { |e| e.inner_text }
+ xpath_elements_for(response: response, xpath: path, attribute: attribute).map(&:inner_text)
end
# alias elements xpath_elements_for
# @return [Boolean] Whether any of the keys of the Body Hash include value
\ No newline at end of file