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)

173
174
175
# File 'lib/vcr/library_hooks/webmock.rb', line 173

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