module Thron::Routable::ClassMethods

Public Instance Methods

circuit_breaker() click to toggle source
# File lib/thron/routable.rb, line 40
def circuit_breaker
  @circuit_breaker ||= CircuitBreaker::new(threshold: Config::circuit_breaker.threshold)
end
routes() click to toggle source
# File lib/thron/routable.rb, line 44
def routes
  fail NotImplementedError
end