Parent

Methods

Class/Module Index [+]

Quicksearch

WebMock::NetConnectNotAllowedError

Public Class Methods

new(request_signature) click to toggle source
# File lib/webmock/errors.rb, line 4
def initialize(request_signature)
  text = "Real HTTP connections are disabled. Unregistered request: #{request_signature}"
  text << "\n\n"
  text << stubbing_instructions(request_signature)
  text << request_stubs
  text << "\n\n" + "="*60
  super(text)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.