Class: Fog::Compute::XenServer::Pifs
- Inherits:
-
Fog::Collection
- Object
- Array
- Fog::Collection
- Fog::Compute::XenServer::Pifs
- Defined in:
- lib/fog/xenserver/models/compute/pifs.rb
Instance Attribute Summary
Attributes inherited from Fog::Collection
Instance Method Summary collapse
- #all(options = {}) ⇒ Object
- #get(ref) ⇒ Object
-
#initialize(attributes) ⇒ Pifs
constructor
A new instance of Pifs.
Methods inherited from Fog::Collection
#clear, #create, #destroy, #inspect, #load, model, #model, #new, #reload, #table, #to_json
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires, #requires_one
Constructor Details
#initialize(attributes) ⇒ Pifs
Returns a new instance of Pifs.
12 13 14 |
# File 'lib/fog/xenserver/models/compute/pifs.rb', line 12 def initialize(attributes) super end |
Instance Method Details
#all(options = {}) ⇒ Object
16 17 18 19 |
# File 'lib/fog/xenserver/models/compute/pifs.rb', line 16 def all( = {}) data = connection.get_records 'PIF' load(data) end |