Parent

Methods

WebMock::URIPattern

Public Class Methods

new(pattern) click to toggle source
# File lib/webmock/request_pattern.rb, line 71
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.