# File lib/fog/cloudstack/models/compute/images.rb, line 21 def get(template_id) if template = connection.list_templates('id' => template_id)["listtemplatesresponse"]["template"].first new(template) end rescue Fog::Compute::Cloudstack::BadRequest nil end