Method: Fog::Compute::Joyent::Snapshot#destroy

Defined in:
lib/fog/joyent/models/compute/snapshot.rb

#destroyObject


28
29
30
31
32
33
34
# File 'lib/fog/joyent/models/compute/snapshot.rb', line 28

def destroy
  requires :name
  requires :machine_id

  self.connection.delete_machine_snapshot(self.machine_id, self.name)
  true
end