lib/peddler/xml_response_parser.rb in peddler-2.0.4 vs lib/peddler/xml_response_parser.rb in peddler-2.1.0
- old
+ new
@@ -3,10 +3,10 @@
require 'peddler/xml_parser'
module Peddler
# @api private
class XMLResponseParser < XMLParser
- MATCHER = /^Message$|Report|Result/
+ MATCHER = /^Message$|Report|Result/.freeze
private_constant :MATCHER
def next_token
parse.fetch('NextToken', false)
end