Method: Fog::Compute::Ecloud::TrustedNetworkGroups#get

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

#get(uri) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/fog/ecloud/models/compute/trusted_network_groups.rb', line 17

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