Class: Drone::Key

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

Overview

Represent ‘key` JSON as a model

Instance Attribute Summary collapse

Instance Attribute Details

#privateString

Returns the private SSH key.

Returns:

  • (String)

    the private SSH key



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

attribute :private, String

#publicString

Returns the public SSH key.

Returns:

  • (String)

    the public SSH key



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

attribute :public, String