Sha256: 0eac9ccaabae197e8f3c25734b85fb7b40ab92eff0aa6a12b73873057e53e77d

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

require_relative "static"

module Rack
  class ECG
    module Check
      # @!method initialize
      #   Always returns a basic error for testing purposes.
      class Error < Static
        STATIC_PARAMETERS = {
          name: :error,
          success: false,
          value: "PC LOAD LETTER",
        }.freeze

        def initialize
          super(STATIC_PARAMETERS)
        end
      end

      CheckRegistry.instance.register(:error, Error)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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