module Fleet::Client::Machines

Constants

MACHINES_RESOURCE

Public Instance Methods

list_machines() click to toggle source
# File lib/fleet/client/machines.rb, line 6
def list_machines
  opts = { consistent: true, recursive: true, sorted: true }
  get(machines_path, opts)
end

Private Instance Methods

machines_path(*parts) click to toggle source
# File lib/fleet/client/machines.rb, line 13
def machines_path(*parts)
  resource_path(MACHINES_RESOURCE, *parts)
end