Class: Typhoeus::Hydra

Inherits:
Object
  • Object
show all
Defined in:
lib/vcr/library_hooks/typhoeus_0.4.rb

Class Method Summary collapse

Class Method Details

.allow_net_connect_with_vcr?(*args) ⇒ Boolean Also known as: allow_net_connect?

Returns:

  • (Boolean)


91
92
93
# File 'lib/vcr/library_hooks/typhoeus_0.4.rb', line 91

def allow_net_connect_with_vcr?(*args)
  VCR.turned_on? ? true : allow_net_connect_without_vcr?
end