# File lib/fog/terremark/models/shared/tasks.rb, line 29 def get(task_id) if task_id && task = service.get_task(task_id).body new(task) elsif !task_id nil end rescue Excon::Errors::Forbidden nil end