Module: HealthRails

Defined in:
lib/health_rails.rb,
lib/health_rails/dsl.rb,
lib/health_rails/rails.rb,
lib/health_rails/version.rb,
lib/health_rails/health_check.rb,
lib/generators/health_rails/install_generator.rb

Defined Under Namespace

Modules: DSL, Generators Classes: Engine, HealthCheck, HealthController

Constant Summary collapse

VERSION =
"0.0.2"
@@authentication =
false
@@health_checks =
[]

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Default way to setup HealthRails. Run rails generate health_rails:install to create a fresh initializer with all configuration values.

Yields:

  • (_self)

Yield Parameters:

  • _self (HealthRails)

    the object that the method was called on



16
17
18
# File 'lib/health_rails.rb', line 16

def self.setup
  yield self
end