Sha256: 1b8cf6459194425ec3df5d6dded511612d3c01d558d825362df28e2fc35e0319
Contents?: true
Size: 517 Bytes
Versions: 13
Compression:
Stored size: 517 Bytes
Contents
require 'fog/ecloud/models/compute/ssh_key' module Fog module Compute class Ecloud class SshKeys < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::SshKey def all data = connection.get_ssh_keys(href).body[:SshKey] load(data) end def get(uri) if data = connection.get_ssh_key(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
13 entries across 13 versions & 7 rubygems