Module: WebMock

Defined in:
lib/vcr/library_hooks/webmock.rb

Class Method Summary collapse

Class Method Details

.net_connect_allowed_with_vcr?(*args) ⇒ Boolean Also known as: net_connect_allowed?

Returns:

  • (Boolean)


164
165
166
# File 'lib/vcr/library_hooks/webmock.rb', line 164

def net_connect_allowed_with_vcr?(*args)
  VCR.turned_on? ? true : net_connect_allowed_without_vcr?(*args)
end