Sha256: 24bd749575e29d19e4777a92634cd4ae6d585cb059e2501b2015a782807cdf72
Contents?: true
Size: 448 Bytes
Versions: 42
Compression:
Stored size: 448 Bytes
Contents
require 'fog/core/collection' require 'fog/sakuracloud/models/compute/ssh_key' module Fog module Compute class SakuraCloud class SshKeys < Fog::Collection model Fog::Compute::SakuraCloud::SshKey def all load service.list_ssh_keys.body['SSHKeys'] end def get(id) all.find { |f| f.id == id } rescue Fog::Errors::NotFound nil end end end end end
Version data entries
42 entries across 40 versions & 5 rubygems