Class: Openfire::ChatRoom

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ChatRoom

Returns a new instance of ChatRoom.



10
11
12
13
14
# File 'lib/openfire/chat_room.rb', line 10

def initialize(attributes={})
  attributes.each do |k,v|
    self.send("#{to_underscore(k)}=", v)
  end
end

Instance Attribute Details

#admin_groupsObject

Returns the value of attribute admin_groups.



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

def admin_groups
  @admin_groups
end

#adminsObject

Returns the value of attribute admins.



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

def admins
  @admins
end

#broadcast_presence_rolesObject

Returns the value of attribute broadcast_presence_roles.



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

def broadcast_presence_roles
  @broadcast_presence_roles
end

#can_anyone_discover_jidObject

Returns the value of attribute can_anyone_discover_jid.



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

def can_anyone_discover_jid
  @can_anyone_discover_jid
end

#can_change_nicknameObject

Returns the value of attribute can_change_nickname.



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

def can_change_nickname
  @can_change_nickname
end

#can_occupants_change_subjectObject

Returns the value of attribute can_occupants_change_subject.



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

def can_occupants_change_subject
  @can_occupants_change_subject
end

#can_occupants_inviteObject

Returns the value of attribute can_occupants_invite.



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

def can_occupants_invite
  @can_occupants_invite
end

#creation_dateObject

Returns the value of attribute creation_date.



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

def creation_date
  @creation_date
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#log_enabledObject

Returns the value of attribute log_enabled.



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

def log_enabled
  @log_enabled
end

#login_restricted_to_nicknameObject

Returns the value of attribute login_restricted_to_nickname.



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

def 
  @login_restricted_to_nickname
end

#max_usersObject

Returns the value of attribute max_users.



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

def max_users
  @max_users
end

#member_groupsObject

Returns the value of attribute member_groups.



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

def member_groups
  @member_groups
end

#membersObject

Returns the value of attribute members.



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

def members
  @members
end

#members_onlyObject

Returns the value of attribute members_only.



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

def members_only
  @members_only
end

#moderatedObject

Returns the value of attribute moderated.



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

def moderated
  @moderated
end

#modification_dateObject

Returns the value of attribute modification_date.



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

def modification_date
  @modification_date
end

#natural_nameObject

Returns the value of attribute natural_name.



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

def natural_name
  @natural_name
end

#outcast_groupsObject

Returns the value of attribute outcast_groups.



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

def outcast_groups
  @outcast_groups
end

#outcastsObject

Returns the value of attribute outcasts.



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

def outcasts
  @outcasts
end

#owner_groupsObject

Returns the value of attribute owner_groups.



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

def owner_groups
  @owner_groups
end

#ownersObject

Returns the value of attribute owners.



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

def owners
  @owners
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#persistentObject

Returns the value of attribute persistent.



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

def persistent
  @persistent
end

#publicRoomObject

Returns the value of attribute publicRoom.



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

def publicRoom
  @publicRoom
end

#registrationEnabledObject

Returns the value of attribute registrationEnabled.



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

def registrationEnabled
  @registrationEnabled
end

#room_nameObject

Returns the value of attribute room_name.



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

def room_name
  @room_name
end

#subjectObject

Returns the value of attribute subject.



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

def subject
  @subject
end