23 24 25 26 27 28 29
# File 'lib/fog/openstack/models/network/subnets.rb', line 23 def get(subnet_id) if subnet = connection.get_subnet(subnet_id).body['subnet'] new(subnet) end rescue Fog::Network::OpenStack::NotFound nil end