# File lib/webmock/util/query_mapper.rb, line 61 def normalize_query_hash(query_hash, empty_accumulator, options) query_hash.inject(empty_accumulator.dup) do |accumulator, (key, value)| if options[:notation] == :flat_array accumulator << [key, value] else accumulator[key] = value.kind_of?(Hash) ? dehash(value) : value end accumulator end end