Sha256: 453498f14464ea1b4c4af458cdc762f67982a190b25f2baad983eb1903afdbfe
Contents?: true
Size: 380 Bytes
Versions: 5
Compression:
Stored size: 380 Bytes
Contents
module Yao::Resources class Keypair < Base friendly_attributes :name, :public_key, :fingerprint self.service = "compute" self.resource_name = "os-keypair" self.resources_name = "os-keypairs" def self.list(query={}) return_resources(GET(resources_name, query).body[resources_name_in_json].map{|r| r[resource_name_in_json] }) end end end
Version data entries
5 entries across 5 versions & 1 rubygems