# File lib/fog/joyent/models/compute/snapshots.rb, line 24 def get(machine_id, snapshot_name) data = self.connection.get_machine_snapshot(machine_id, snapshot_name).body if data data["machine_id"] = machine_id new(data) else nil end end