Class: Rack::ECG::Check::Error

Inherits:
Static
  • Object
show all
Defined in:
lib/rack/ecg/check/error.rb

Constant Summary collapse

STATIC_PARAMETERS =
{
  name: :error,
  success: false,
  value: "PC LOAD LETTER",
}.freeze

Instance Method Summary collapse

Methods inherited from Static

#result

Constructor Details

#initializeError

Always returns a basic error for testing purposes.



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/rack/ecg/check/error.rb', line 10

class Error < Static
  STATIC_PARAMETERS = {
    name: :error,
    success: false,
    value: "PC LOAD LETTER",
  }.freeze

  def initialize
    super(STATIC_PARAMETERS)
  end
end