Class: Nomad::AgentJoin

Inherits:
Response show all
Defined in:
lib/nomad/api/agent.rb

Constant Summary

Constants inherited from Response

Response::BUILTIN_LOADERS

Instance Attribute Summary collapse

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Nomad::Response

Instance Attribute Details

#errorString (readonly)

The agent configuration

Returns:

  • (String)


204
# File 'lib/nomad/api/agent.rb', line 204

field :error, load: :string_as_nil

#num_joinedInteger (readonly)

The agent configuration

Returns:

  • (Integer)


209
# File 'lib/nomad/api/agent.rb', line 209

field :num_joined