Method: Fog::Rackspace::BlockStorage::Snapshot#save
- Defined in:
- lib/fog/rackspace/models/block_storage/snapshot.rb
permalink #save(force = false) ⇒ Object
[View source]
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/fog/rackspace/models/block_storage/snapshot.rb', line 27 def save(force = false) requires :volume_id data = connection.create_snapshot(volume_id, { :display_name => display_name, :display_description => display_description, :force => force }) merge_attributes(data.body['snapshot']) true end |