Sha256: a4787575e6d404999f949c704a24f37267abf71b8f5a160e8ec3e02b6cf0bf99
Contents?: true
Size: 708 Bytes
Versions: 24
Compression:
Stored size: 708 Bytes
Contents
module Fog module Compute class Cloudstack class Real # List registered keypairs # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/listSSHKeyPairs.html] def list_ssh_key_pairs(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'listSSHKeyPairs') else options.merge!('command' => 'listSSHKeyPairs') end # add project id if we have one @cloudstack_project_id ? options.merge!('projectid' => @cloudstack_project_id) : nil request(options) end end end end end
Version data entries
24 entries across 22 versions & 3 rubygems