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