# File lib/fog/joyent/models/compute/snapshots.rb, line 16defall(machine_id)
data = service.list_machine_snapshots(machine_id).body.mapdo|m|m["machine_id"] = machine_idmendload(data)
end
create(machine_id, snapshot_name)click to toggle source
# File lib/fog/joyent/models/compute/snapshots.rb, line 10defcreate(machine_id, snapshot_name)
data = self.service.create_machine_snapshot(machine_id, snapshot_name).bodydata['machine_id'] = machine_idnew(data)
end
get(machine_id, snapshot_name)click to toggle source
# File lib/fog/joyent/models/compute/snapshots.rb, line 24defget(machine_id, snapshot_name)
data = service.get_machine_snapshot(machine_id, snapshot_name).bodyifdatadata["machine_id"] = machine_idnew(data)
elsenilendend