Module: Protoboard

Defined in:
lib/protoboard.rb,
lib/protoboard/circuit.rb,
lib/protoboard/version.rb,
lib/protoboard/configuration.rb,
lib/protoboard/circuit_breaker.rb,
lib/protoboard/circuit_execution.rb,
lib/protoboard/adapters/base_adapter.rb,
lib/protoboard/circuit_proxy_factory.rb,
lib/protoboard/errors/invalid_callback.rb,
lib/protoboard/adapters/stoplight_adapter.rb,
lib/protoboard/helpers/validate_callbacks.rb,
lib/protoboard/refinements/string_extensions.rb,
lib/protoboard/helpers/services_healthcheck_generator.rb

Overview

This module is the entry to get or set the configuration needed by the gem.

Defined Under Namespace

Modules: Adapters, CircuitBreaker, CircuitProxyFactory, Errors, Helpers, Refinements Classes: Circuit, CircuitExecution, Configuration

Constant Summary collapse

VERSION =
'0.2.3'

Class Method Summary collapse

Class Method Details

.configObject

Returns the current configuration



23
24
25
# File 'lib/protoboard.rb', line 23

def self.config
  Protoboard::Configuration
end

.configure(&block) ⇒ Object

Does the configuration needed by the gem



29
30
31
# File 'lib/protoboard.rb', line 29

def self.configure(&block)
  config.configure(&block)
end