Class: Drone::PayloadRepresenter
- Inherits:
-
Representable::Decorator
- Object
- Representable::Decorator
- Drone::PayloadRepresenter
- Includes:
- Representable::JSON
- Defined in:
- lib/drone/models/payload_representer.rb
Overview
Transform toplevel JSON payload
Instance Attribute Summary collapse
-
#build ⇒ Drone::Build
The build configuration.
-
#repo ⇒ Drone::Repo
The repo configuration.
-
#system ⇒ Drone::System
The system configuration.
-
#vargs ⇒ Hash
The plugin specific payload.
-
#workspace ⇒ Drone::Workspace
The workspace configuration.
Instance Attribute Details
#build ⇒ Drone::Build
Returns the build configuration.
40 41 42 |
# File 'lib/drone/models/payload_representer.rb', line 40 property :build, decorator: BuildRepresenter, class: Build |
#repo ⇒ Drone::Repo
Returns the repo configuration.
28 29 30 |
# File 'lib/drone/models/payload_representer.rb', line 28 property :repo, decorator: RepoRepresenter, class: Repo |
#system ⇒ Drone::System
Returns the system configuration.
34 35 36 |
# File 'lib/drone/models/payload_representer.rb', line 34 property :system, decorator: SystemRepresenter, class: System |
#vargs ⇒ Hash
Returns the plugin specific payload.
52 |
# File 'lib/drone/models/payload_representer.rb', line 52 property :vargs |
#workspace ⇒ Drone::Workspace
Returns the workspace configuration.
46 47 48 |
# File 'lib/drone/models/payload_representer.rb', line 46 property :workspace, decorator: WorkspaceRepresenter, class: Workspace |