Class: Nomad::JobArtifact

Inherits:
Response show all
Defined in:
lib/nomad/api/job.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

#destinationString (readonly)

The task destination.

Returns:

  • (String)


950
# File 'lib/nomad/api/job.rb', line 950

field :RelativeDest, as: :destination, load: :string_as_nil

#optionsHash<String,String> (readonly)

The task options.

Returns:

  • (Hash<String,String>)


945
# File 'lib/nomad/api/job.rb', line 945

field :GetterOptions, as: :options, load: :stringify_keys

#sourceString (readonly)

The task source.

Returns:

  • (String)


940
# File 'lib/nomad/api/job.rb', line 940

field :GetterSource, as: :source, load: :string_as_nil