Parent

Methods

Class/Module Index [+]

Quicksearch

WebMock::URIPattern

Public Class Methods

new(pattern) click to toggle source
# File lib/webmock/request_pattern.rb, line 76
def initialize(pattern)
  @pattern = pattern.is_a?(Addressable::URI) ? pattern : WebMock::Util::URI.normalize_uri(pattern)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.