Class: Fog::Softlayer::Product::Packages
- Inherits:
-
Collection
- Object
- Collection
- Fog::Softlayer::Product::Packages
- Defined in:
- lib/fog/softlayer/models/product/packages.rb
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize(attributes = {}) ⇒ Packages
constructor
A new instance of Packages.
Constructor Details
#initialize(attributes = {}) ⇒ Packages
Returns a new instance of Packages.
16 17 18 |
# File 'lib/fog/softlayer/models/product/packages.rb', line 16 def initialize(attributes = {}) super(attributes) end |
Instance Method Details
#all ⇒ Object
20 21 22 23 |
# File 'lib/fog/softlayer/models/product/packages.rb', line 20 def all data = service.get_packages.body load(data) end |