Sha256: 6576eb3f92505930572fb46ea799c744b6900947e0204b37186e9e2a693fd4be

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

require_relative 'healthcheck/core'

module OnStrum
  module Healthcheck
    class << self
      def configuration(&block)
        @configuration ||= begin
          return unless block

          OnStrum::Healthcheck::Configuration.new(&block)
        end
      end

      def configure(&block)
        configuration(&block)
      end

      def reset_configuration!
        @configuration = nil
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
on_strum-healthcheck-0.1.0 lib/on_strum/healthcheck.rb