lib/httpx/plugins/circuit_breaker.rb in httpx-1.1.5 vs lib/httpx/plugins/circuit_breaker.rb in httpx-1.2.0
- old
+ new
@@ -23,9 +23,11 @@
circuit_breaker_half_open_drip_rate: 1
)
end
module InstanceMethods
+ include HTTPX::Callbacks
+
def initialize(*)
super
@circuit_store = CircuitStore.new(@options)
end