Sha256: 1646327133a2bcfd30caaebe7acfc6fda4acb493aa9645e600f02b3069e21b20
Contents?: true
Size: 510 Bytes
Versions: 17
Compression:
Stored size: 510 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 = service.get_ssh_keys(href).body[:SshKey] load(data) end def get(uri) if data = service.get_ssh_key(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
17 entries across 17 versions & 5 rubygems