Class: Drone::SystemRepresenter
- Inherits:
-
Representable::Decorator
- Object
- Representable::Decorator
- Drone::SystemRepresenter
- Includes:
- Representable::JSON
- Defined in:
- lib/drone/models/system_representer.rb
Overview
Transform ‘system` JSON payload
Instance Attribute Summary collapse
-
#globals ⇒ Array
The used global environment vars.
-
#link ⇒ String
The link to the Drone server.
-
#plugins ⇒ Array
The used plugins within the build.
-
#privileged ⇒ Array
The list of privileged plugins.
-
#version ⇒ String
The version of the Drone server.
Instance Attribute Details
#globals ⇒ Array
Returns the used global environment vars.
46 |
# File 'lib/drone/models/system_representer.rb', line 46 collection :globals |
#link ⇒ String
Returns the link to the Drone server.
32 33 |
# File 'lib/drone/models/system_representer.rb', line 32 property :link, as: :link_url |
#plugins ⇒ Array
Returns the used plugins within the build.
37 |
# File 'lib/drone/models/system_representer.rb', line 37 collection :plugins |
#privileged ⇒ Array
Returns the list of privileged plugins.
41 42 |
# File 'lib/drone/models/system_representer.rb', line 41 collection :privileged, as: :privileged_plugins |
#version ⇒ String
Returns the version of the Drone server.
28 |
# File 'lib/drone/models/system_representer.rb', line 28 property :version |