Class: WebMock::URIAddressablePattern

Inherits:
URIPattern
  • Object
show all
Defined in:
lib/webmock/request_pattern.rb

Instance Method Summary collapse

Methods inherited from URIPattern

#initialize, #matches?, #to_s

Methods included from RSpecMatcherDetector

#rSpecHashExcludingMatcher?, #rSpecHashIncludingMatcher?

Constructor Details

This class inherits a constructor from WebMock::URIPattern

Instance Method Details

#add_query_params(query_params) ⇒ Object



176
177
178
179
180
181
182
183
# File 'lib/webmock/request_pattern.rb', line 176

def add_query_params(query_params)
  @@add_query_params_warned ||= false
  if not @@add_query_params_warned
    @@add_query_params_warned = true
    warn "WebMock warning: ignoring query params in RFC 6570 template and checking them with WebMock"
  end
  super(query_params)
end