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)


156
157
158
# File 'lib/vcr/library_hooks/webmock.rb', line 156

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