Class: Fog::Compute::Packet::VirtualNetworks
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Packet::VirtualNetworks
- Defined in:
- lib/fog/compute/packet/models/virtual_networks.rb
Overview
Plans
Instance Method Summary collapse
Instance Method Details
#all(project_id, params = {}) ⇒ Object
10 11 12 13 |
# File 'lib/fog/compute/packet/models/virtual_networks.rb', line 10 def all(project_id, params = {}) response = service.list_virtual_networks(project_id, params) load(response.body["virtual_networks"]) end |