1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[core] add collection#destroy(identity)

This commit is contained in:
geemus 2011-08-23 09:43:24 -05:00
parent fe1337dd79
commit 35bbd854e0

View file

@ -51,6 +51,11 @@ module Fog
object
end
def destroy(identity)
object = new(:identity => identity)
object.destroy
end
def initialize(attributes = {})
@loaded = false
merge_attributes(attributes)