module VCR::LibraryHooks::WebMock

@private

Attributes

global_hook_disabled[RW]
global_hook_disabled?[RW]

Public Instance Methods

with_global_hook_disabled() { || ... } click to toggle source
# File lib/vcr/library_hooks/webmock.rb, line 16
def with_global_hook_disabled
  self.global_hook_disabled = true

  begin
    yield
  ensure
    self.global_hook_disabled = false
  end
end