Class: Rack::ECG::Check::Http

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

Constant Summary collapse

STATIC_PARAMETERS =
{
  name: :http,
  success: true,
  value: "online",
}.freeze

Instance Method Summary collapse

Methods inherited from Static

#result

Constructor Details

#initializeHttp

Always returns a success.



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

class Http < Static
  STATIC_PARAMETERS = {
    name: :http,
    success: true,
    value: "online",
  }.freeze

  def initialize
    super(STATIC_PARAMETERS)
  end
end