Module: Fleet::Client::State

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

Constant Summary collapse

STATE_RESOURCE =
'state'.freeze

Instance Method Summary collapse

Instance Method Details

#list_statesObject



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

def list_states
  opts = { consistent: true, recursive: true, sorted: true }
  get(state_path, opts)
end