Class: Whm::Package

Inherits:
Object
  • Object
show all
Includes:
Validatable, Parameters
Defined in:
lib/whm/package.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject

Returns the value of attribute attributes.



9
10
11
# File 'lib/whm/package.rb', line 9

def attributes
  @attributes
end

#serverObject

Returns the value of attribute server.



8
9
10
# File 'lib/whm/package.rb', line 8

def server
  @server
end