Module: StubRequests::WebMock::StubRegistryExtension
- Defined in:
- lib/stub_requests/webmock/stub_registry_extension.rb
Overview
Module StubRegistryExtension extends WebMock::StubRegistry with recording of when a response was found and used for a WebMock::RequestStub
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
26 27 28 29 30 31 |
# File 'lib/stub_requests/webmock/stub_registry_extension.rb', line 26 def self.included(base) base.class_eval do alias_method :request_stub_for_orig, :request_stub_for alias_method :request_stub_for, :request_stub_for_ext end end |