Class: Fog::Compute::XenServer::Networks
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::XenServer::Networks
- Defined in:
- lib/fog/xenserver/models/compute/networks.rb
Instance Method Summary collapse
- #all(options = {}) ⇒ Object
- #get(ref) ⇒ Object
-
#initialize(attributes) ⇒ Networks
constructor
A new instance of Networks.
Constructor Details
#initialize(attributes) ⇒ Networks
Returns a new instance of Networks.
10 11 12 |
# File 'lib/fog/xenserver/models/compute/networks.rb', line 10 def initialize(attributes) super end |
Instance Method Details
#all(options = {}) ⇒ Object
14 15 16 17 |
# File 'lib/fog/xenserver/models/compute/networks.rb', line 14 def all( = {}) data = service.get_records 'network' load(data) end |