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