lib/peddler/xml_response_parser.rb in peddler-1.5.0 vs lib/peddler/xml_response_parser.rb in peddler-1.6.0

- old
+ new

@@ -1,10 +1,10 @@ require 'peddler/xml_parser' module Peddler # @api private class XMLResponseParser < XMLParser - MATCHER = /Message|Report|Result/ + MATCHER = /^Message$|Report|Result/ private_constant :MATCHER def next_token parse.fetch('NextToken', false) end