Class: MistralClient::Health
Constant Summary collapse
- PATH =
''.freeze
Constants inherited from Base
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(server) ⇒ Health
constructor
A new instance of Health.
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
#get ⇒ Object
10 11 12 |
# File 'lib/mistral_client/health.rb', line 10 def get @server.get(PATH.to_s) end |