lib/mws/orders/parser.rb in mws-orders-0.2.1 vs lib/mws/orders/parser.rb in mws-orders-0.2.2

- old
+ new

@@ -1,9 +1,9 @@ -require "nokogiri" -require "mws/orders/orders" -require "mws/orders/order_items" -require "mws/orders/service_status" +require 'nokogiri' +require 'mws/orders/orders' +require 'mws/orders/order_items' +require 'mws/orders/service_status' module MWS module Orders class Parser SERVICE_STATUS = /GetServiceStatus/ @@ -36,10 +36,10 @@ def find_result_node xml = Nokogiri(@response.body) root = xml.children.first - root.children.find { |node| node.name.include?("Result") } + root.children.find { |node| node.name.include?('Result') } end end # Override Peddler's default Parser. Client.parser = Parser