Merge pull request #514 from extraordinaire/master

Add snapshot method to aws volume model
This commit is contained in:
Wesley Beary 2011-09-17 08:47:29 -07:00
commit e1f5bfda27
1 changed files with 5 additions and 0 deletions

View File

@ -68,6 +68,11 @@ module Fog
connection.snapshots(:volume => self)
end
def snapshot(description)
requires :id
connection.create_snapshot(id, description)
end
def force_detach
detach(true)
end