mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
e403854446
Squashed from fog/joyent
19 lines
318 B
Ruby
19 lines
318 B
Ruby
module Fog
|
|
module Compute
|
|
class Joyent
|
|
class Key < Fog::Model
|
|
identity :name
|
|
|
|
attribute :name
|
|
attribute :key
|
|
|
|
attribute :created, :type => :time
|
|
|
|
def destroy
|
|
requires :name
|
|
self.connection.delete_key(name)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|