Class: Openfire::Group

Inherits:
Object
  • Object
show all
Defined in:
lib/openfire/group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/openfire/group.rb', line 3

def description
  @description
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/openfire/group.rb', line 3

def name
  @name
end