Sha256: 216609873c0acd91222eeff74f3ed5edc54573d0b90a25c8fe89f39d029b1dbc

Contents?: true

Size: 499 Bytes

Versions: 2

Compression:

Stored size: 499 Bytes

Contents

# frozen_string_literal: true

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
    cattr_writer :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-1.0.1 lib/middleware_healthcheck.rb
middleware_healthcheck-1.0.0 lib/middleware_healthcheck.rb