Sha256: b2153ebdfaecc0714dc637488bde91c00e62fc127b14bf47e3767b94165c1d39

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true

require_relative "static"

module Rack
  class ECG
    module Check
      # @!method initialize
      #   Always returns a success.
      class Http < Static
        STATIC_PARAMETERS = {
          name: :http,
          success: true,
          value: "online",
        }.freeze

        def initialize
          super(STATIC_PARAMETERS)
        end
      end

      CheckRegistry.instance.register(:http, Http)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-ecg-0.3.0 lib/rack/ecg/check/http.rb