Class: MistralClient::Health

Inherits:
Base
  • Object
show all
Defined in:
lib/mistral_client/health.rb

Constant Summary collapse

PATH =
''.freeze

Constants inherited from Base

Base::DATE_FIELDS

Instance Method Summary collapse

Constructor Details

#initialize(server) ⇒ Health

Returns a new instance of Health.



5
6
7
8
# File 'lib/mistral_client/health.rb', line 5

def initialize(server)
  super()
  @server = server
end

Instance Method Details

#getObject



10
11
12
# File 'lib/mistral_client/health.rb', line 10

def get
  @server.get(PATH.to_s)
end