class Morpheus::HubInterface
Public Instance Methods
Source
# File lib/morpheus/api/hub_interface.rb, line 17 def checkin(payload={}, params={}, headers={}) execute(method: :post, url: "#{base_path}/checkin", payload: payload, params: params, headers: headers) end
Source
# File lib/morpheus/api/hub_interface.rb, line 9 def get(params={}, headers={}) execute(method: :get, url: "#{base_path}", params: params, headers: headers) end
Source
# File lib/morpheus/api/hub_interface.rb, line 21 def register(payload={}, params={}, headers={}) execute(method: :post, url: "#{base_path}/register", payload: payload, params: params, headers: headers) end
Source
# File lib/morpheus/api/hub_interface.rb, line 13 def usage(params={}, headers={}) execute(method: :get, url: "#{base_path}/usage", params: params, headers: headers) end