Class: Drone::NetrcRepresenter
- Inherits:
-
Representable::Decorator
- Object
- Representable::Decorator
- Drone::NetrcRepresenter
- Includes:
- Representable::JSON
- Defined in:
- lib/drone/models/netrc_representer.rb
Overview
Transform ‘netrc` JSON payload
Instance Attribute Summary collapse
-
#login ⇒ String
The username for the netrc.
-
#machine ⇒ String
The host for the netrc.
-
#password ⇒ String
The password for the netrc.
Instance Attribute Details
#login ⇒ String
Returns the username for the netrc.
32 |
# File 'lib/drone/models/netrc_representer.rb', line 32 property :login |
#machine ⇒ String
Returns the host for the netrc.
28 |
# File 'lib/drone/models/netrc_representer.rb', line 28 property :machine |
#password ⇒ String
Returns the password for the netrc.
36 |
# File 'lib/drone/models/netrc_representer.rb', line 36 property :password |