Class: Drone::Workspace

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

Overview

Represent ‘workspace` JSON as a model

Instance Attribute Summary collapse

Instance Attribute Details

#keysDrone::Key

Returns the key configuration.

Returns:



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

attribute :keys, Key

#netrcDrone::Netrc

Returns the netrc configuration.

Returns:



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

attribute :netrc, Netrc

#pathString

Returns the absolute path to the source.

Returns:

  • (String)

    the absolute path to the source



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

attribute :path, String

#rootString

Returns the root path of the workspace.

Returns:

  • (String)

    the root path of the workspace



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

attribute :root, String