Class: Openfire::Group
- Inherits:
-
Object
- Object
- Openfire::Group
- Defined in:
- lib/openfire/group.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Group
constructor
A new instance of Group.
Constructor Details
#initialize(attributes = {}) ⇒ Group
Returns a new instance of Group.
5 6 7 8 9 |
# File 'lib/openfire/group.rb', line 5 def initialize(attributes={}) attributes.each do |k,v| self.send("#{to_underscore(k)}=", v) end end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/openfire/group.rb', line 3 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/openfire/group.rb', line 3 def name @name end |