Class: WebMock::HttpLibAdapters::HttpRbAdapter
- Inherits:
-
WebMock::HttpLibAdapter
- Object
- WebMock::HttpLibAdapter
- WebMock::HttpLibAdapters::HttpRbAdapter
- Defined in:
- lib/webmock/http_lib_adapters/http_rb_adapter.rb
Class Method Summary collapse
Methods inherited from WebMock::HttpLibAdapter
Class Method Details
.disable! ⇒ Object
22 23 24 |
# File 'lib/webmock/http_lib_adapters/http_rb_adapter.rb', line 22 def disable! @enabled = false end |
.enable! ⇒ Object
18 19 20 |
# File 'lib/webmock/http_lib_adapters/http_rb_adapter.rb', line 18 def enable! @enabled = true end |
.enabled? ⇒ Boolean
26 27 28 |
# File 'lib/webmock/http_lib_adapters/http_rb_adapter.rb', line 26 def enabled? @enabled end |