Method: Tsclient::Client#status

Defined in:
lib/tsclient/client.rb

#statusObject



32
33
34
35
36
37
38
39
40
# File 'lib/tsclient/client.rb', line 32

def status
  response = api_get(:status)

  if response.error?
    nil
  else
    Status.from(response.result)
  end
end