Sha256: cbf01025cef7192ac21e658dfd89931bfaaf40c802a18cab08d41bc1390eaa3b

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 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
      super.map{|r| r[resource_name_in_json] }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yao-0.0.5 lib/yao/resources/keypair.rb
yao-0.0.4 lib/yao/resources/keypair.rb
yao-0.0.3 lib/yao/resources/keypair.rb
yao-0.0.2 lib/yao/resources/keypair.rb
yao-0.0.2.rc3 lib/yao/resources/keypair.rb