Class: Hcloud::SSHKey
- Inherits:
-
Object
- Object
- Hcloud::SSHKey
- Includes:
- EntryLoader
- Defined in:
- lib/hcloud/ssh_key.rb
Constant Summary collapse
- Attributes =
{ id: nil, name: nil, fingerprint: nil, public_key: nil }
Instance Method Summary collapse
Methods included from EntryLoader
Instance Method Details
#destroy ⇒ Object
18 19 20 21 |
# File 'lib/hcloud/ssh_key.rb', line 18 def destroy request("ssh_keys/#{id}", method: :delete).run.body true end |