Fog::Collection
# File lib/fog/openstack/models/network/networks.rb, line 13 def initialize(attributes) self.filters ||= {} super end
# File lib/fog/openstack/models/network/networks.rb, line 18 def all(filters = filters) self.filters = filters load(service.list_networks(filters).body['networks']) end
# File lib/fog/openstack/models/network/networks.rb, line 23 def get(network_id) if network = service.get_network(network_id).body['network'] new(network) end rescue Fog::Network::OpenStack::NotFound nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.