module HTTPX::Plugins::CircuitBreaker::InstanceMethods

  1. lib/httpx/plugins/circuit_breaker.rb

Methods

Public Class

  1. new

Public Instance

  1. initialize_dup

Included modules

  1. HTTPX::Callbacks

Public Class methods

new(*)
[show source]
   # File lib/httpx/plugins/circuit_breaker.rb
30 def initialize(*)
31   super
32   @circuit_store = CircuitStore.new(@options)
33 end

Public Instance methods

initialize_dup(orig)
[show source]
   # File lib/httpx/plugins/circuit_breaker.rb
35 def initialize_dup(orig)
36   super
37   @circuit_store = orig.instance_variable_get(:@circuit_store).dup
38 end