Method: Fog::Network::OpenStack::SubnetPools#get
- Defined in:
- lib/fog/network/openstack/models/subnet_pools.rb
#get(subnet_pool_id) ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/fog/network/openstack/models/subnet_pools.rb', line 22 def get(subnet_pool_id) subnet_pool = service.get_subnet_pool(subnet_pool_id).body['subnetpool'] if subnet_pool new(subnet_pool) end rescue Fog::Network::OpenStack::NotFound nil end |