Merge pull request #514 from extraordinaire/master
Add snapshot method to aws volume model
This commit is contained in:
commit
e1f5bfda27
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue