Module: Fleet::Client::Machines

Included in:
Fleet::Client
Defined in:
lib/fleet/client/machines.rb

Constant Summary collapse

MACHINES_RESOURCE =
'machines'.freeze

Instance Method Summary collapse

Instance Method Details

#list_machinesObject



6
7
8
9
# File 'lib/fleet/client/machines.rb', line 6

def list_machines
  opts = { consistent: true, recursive: true, sorted: true }
  get(machines_path, opts)
end