Class: Drone::System

Inherits:
Object
  • Object
show all
Defined in:
lib/drone/models/system.rb

Overview

Represent ‘system` JSON as a model

Instance Attribute Summary collapse

Instance Attribute Details

#globalsArray

Returns the used global environment vars.

Returns:

  • (Array)

    the used global environment vars



45
# File 'lib/drone/models/system.rb', line 45

attribute :globals, Array[String]

Returns the link to the Drone server.

Returns:

  • (String)

    the link to the Drone server



33
# File 'lib/drone/models/system.rb', line 33

attribute :link, String

#pluginsArray

Returns the used plugins within the build.

Returns:

  • (Array)

    the used plugins within the build



37
# File 'lib/drone/models/system.rb', line 37

attribute :plugins, Array[String]

#privilegedArray

Returns the list of privileged plugins.

Returns:

  • (Array)

    the list of privileged plugins



41
# File 'lib/drone/models/system.rb', line 41

attribute :privileged, Array[String]

#versionString

Returns the version of the Drone server.

Returns:

  • (String)

    the version of the Drone server



29
# File 'lib/drone/models/system.rb', line 29

attribute :version, String