Sha256: cddff94f4bf3f6eed4f9691a69f1eaa959d0ac41e43deafe0e04632341eaaa36
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
require_relative 'ssh_key' module Fog module Compute class OneAndOne class SshKeys < Fog::Collection model Fog::Compute::OneAndOne::SshKey def all response = service.list_ssh_keys load(response.body) end def get(id) response = service.get_ssh_key(id) new(response.body) rescue Excon::Errors::NotFound nil end end # SshKeys end # OneAndOne end # Compute end # Fog
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-oneandone-1.2 | lib/oneandone/models/compute/ssh_keys.rb |