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
20 21 22 |
# File 'lib/webmock/http_lib_adapters/http_rb_adapter.rb', line 20 def disable! @enabled = false end |
.enable! ⇒ Object
16 17 18 |
# File 'lib/webmock/http_lib_adapters/http_rb_adapter.rb', line 16 def enable! @enabled = true end |
.enabled? ⇒ Boolean
24 25 26 |
# File 'lib/webmock/http_lib_adapters/http_rb_adapter.rb', line 24 def enabled? @enabled end |