# File lib/fog/hp/models/block_storage_v2/snapshot.rb, line 17 def initialize(attributes = {}) # assign these attributes first to prevent race condition with persisted? self.force = attributes.delete(:force) # force snapshotting of attached volumes super end
# File lib/fog/hp/models/block_storage_v2/snapshot.rb, line 23 def destroy requires :id service.delete_snapshot(id) true end
# File lib/fog/hp/models/block_storage_v2/snapshot.rb, line 29 def force=(new_force) @force = new_force end
Generated with the Darkfish Rdoc Generator 2.