class Gyft::Client::Health

Public Class Methods

new(client) click to toggle source
# File lib/gyft/client/health.rb, line 3
def initialize client
  @client = client
end

Public Instance Methods

check() click to toggle source
# File lib/gyft/client/health.rb, line 7
def check
  @client.get('/health/check')
  true
rescue SocketError
  false
end