Method: Hoss::Spies::NetHTTPSpy.disabled?

Defined in:
lib/hoss/spies/net_http.rb

.disabled?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


34
35
36
# File 'lib/hoss/spies/net_http.rb', line 34

def disabled?
  Thread.current[KEY] ||= false
end