Sha256: 016e7785ae017c5e686e6592b46c4bcf3a8f4773994d341dee6de9bd94efdd98

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

module Larrow
  module Qingcloud
    class KeyPair < Base
      attr_accessor :id, :name
      def self.list()
        describe([],{}) do |hash|
          new hash['keypair_id'],hash['keypair_name']
        end
      end

      def initialize id,name
        self.id = id
        self.name = name
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
larrow-qingcloud-0.0.2 lib/larrow/qingcloud/key_pair.rb
larrow-qingcloud-0.0.1 lib/larrow/qingcloud/key_pair.rb