1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/joyent/models/compute/key.rb
2013-01-07 21:01:14 +00:00

19 lines
310 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
service.delete_key(name)
end
end
end
end
end