Method: Fog::Compute::Ecloud::Tasks#get

Defined in:
lib/fog/ecloud/models/compute/tasks.rb

#get(uri) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/fog/ecloud/models/compute/tasks.rb', line 20

def get(uri)
  if data = connection.get_task(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end