Class: Drone::KeyRepresenter

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

Overview

Transform ‘key` JSON payload

Instance Attribute Summary collapse

Instance Attribute Details

#privateString

Returns the private SSH key.

Returns:

  • (String)

    the private SSH key



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

property :private

#publicString

Returns the public SSH key.

Returns:

  • (String)

    the public SSH key



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

property :public