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



181
182
183
184
185
186
187
188
# File 'lib/webmock/request_pattern.rb', line 181

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