Class: Fog::Compute::DigitalOceanV2::SshKeys
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::DigitalOceanV2::SshKeys
- Defined in:
- lib/fog/digitalocean/models/compute_v2/ssh_keys.rb
Instance Method Summary collapse
-
#all(filters = {}) ⇒ Fog::Compute::DigitalOceanV2::Sshkeys
Returns list of ssh keys.
-
#get(id) ⇒ Fog::Compute::DigitalOceanV2::Sshkeys
Returns ssh key.
Instance Method Details
#all(filters = {}) ⇒ Fog::Compute::DigitalOceanV2::Sshkeys
Returns list of ssh keys
14 15 16 17 |
# File 'lib/fog/digitalocean/models/compute_v2/ssh_keys.rb', line 14 def all(filters={}) data = service.list_ssh_keys.body['ssh_keys'] load(data) end |