Sha256: 5a6db2e95ff2526e637735f29bb5fe311c40bf04c71326392e48a4514e248b94

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

require "middleware_healthcheck/rails" if defined? Rails::Railtie
require "middleware_healthcheck/default_checkers"
require "middleware_healthcheck/configuration"
require "middleware_healthcheck/main_checker"
require "middleware_healthcheck/middleware"

module MiddlewareHealthcheck
  class << self
    attr_accessor :configuration

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield configuration
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleware_healthcheck-0.2.2 lib/middleware_healthcheck.rb
middleware_healthcheck-0.2.1 lib/middleware_healthcheck.rb