module Cobinhood::Client::REST::SystemAPI

Public Instance Methods

info() click to toggle source
# File lib/cobinhood/client/rest/system_api.rb, line 13
def info
  request :system, :get, :info
end
localtime() click to toggle source
# File lib/cobinhood/client/rest/system_api.rb, line 9
def localtime
  Time.at time["result"]["time"] / 1000.0
end
time() click to toggle source
# File lib/cobinhood/client/rest/system_api.rb, line 5
def time
  request :system, :get, :time
end