Method: Hoss::Spies::NetHTTPSpy.disabled=

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

.disabled=(disabled) ⇒ Object

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.



30
31
32
# File 'lib/hoss/spies/net_http.rb', line 30

def disabled=(disabled)
  Thread.current[KEY] = disabled
end