Module: HTTPX::Plugins::CircuitBreaker::InstanceMethods

Includes:
Callbacks
Defined in:
lib/httpx/plugins/circuit_breaker.rb

Instance Method Summary collapse

Methods included from Callbacks

#callbacks_for?, #emit, #on, #once

Instance Method Details

#initializeObject



30
31
32
33
# File 'lib/httpx/plugins/circuit_breaker.rb', line 30

def initialize(*)
  super
  @circuit_store = CircuitStore.new(@options)
end