Class: Drone::NetrcRepresenter

Inherits:
Representable::Decorator
  • Object
show all
Includes:
Representable::JSON
Defined in:
lib/drone/models/netrc_representer.rb

Overview

Transform ‘netrc` JSON payload

Instance Attribute Summary collapse

Instance Attribute Details

#loginString

Returns the username for the netrc.

Returns:

  • (String)

    the username for the netrc



32
# File 'lib/drone/models/netrc_representer.rb', line 32

property :login

#machineString

Returns the host for the netrc.

Returns:

  • (String)

    the host for the netrc



28
# File 'lib/drone/models/netrc_representer.rb', line 28

property :machine

#passwordString

Returns the password for the netrc.

Returns:

  • (String)

    the password for the netrc



36
# File 'lib/drone/models/netrc_representer.rb', line 36

property :password