# File lib/webmock/request_pattern.rb, line 104 104: def add_query_params(query_params) 105: if !query_params.is_a?(Hash) 106: query_params = Addressable::URI.parse('?' + query_params).query_values 107: end 108: @pattern.query_values = (@pattern.query_values || {}).merge(query_params) 109: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.