Class: Drone::Payload

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

Overview

Represent toplevel JSON as a model

Instance Attribute Summary collapse

Instance Attribute Details

#buildDrone::Build

Returns the build configuration.

Returns:



38
# File 'lib/drone/models/payload.rb', line 38

attribute :build, Build

#repoDrone::Repo

Returns the repo configuration.

Returns:



30
# File 'lib/drone/models/payload.rb', line 30

attribute :repo, Repo

#systemDrone::System

Returns the system configuration.

Returns:



34
# File 'lib/drone/models/payload.rb', line 34

attribute :system, System

#vargsHashie::Mash

Returns the plugin specific payload.

Returns:

  • (Hashie::Mash)

    the plugin specific payload



46
# File 'lib/drone/models/payload.rb', line 46

attribute :vargs, Hash

#workspaceDrone::Workspace

Returns the workspace configuration.

Returns:



42
# File 'lib/drone/models/payload.rb', line 42

attribute :workspace, Workspace