Class: Whm::Package
- Inherits:
-
Object
- Object
- Whm::Package
- Includes:
- Validatable, Parameters
- Defined in:
- lib/whm/package.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#server ⇒ Object
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Package
constructor
A new instance of Package.
Methods included from Parameters
#booleans!, #requires!, #valid_options!
Constructor Details
#initialize(attributes = {}) ⇒ Package
Returns a new instance of Package.
12 13 14 |
# File 'lib/whm/package.rb', line 12 def initialize(attributes = {}) self.attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
9 10 11 |
# File 'lib/whm/package.rb', line 9 def attributes @attributes end |
#server ⇒ Object
Returns the value of attribute server.
8 9 10 |
# File 'lib/whm/package.rb', line 8 def server @server end |