class Gobbler::Machine
Public Class Methods
list(opts = {})
click to toggle source
@return [Array<Machine>] Machines that have been connected to your account
# File lib/gobbler/machine.rb, line 16 def self.list(opts = {}) opts[:offset] ||= 0 ::Gobbler.request("client_machine/sync_ask", options: opts)["updates"].map {|machine| new(machine)} end