Class: Openfire::ChatRoom
- Inherits:
-
Object
- Object
- Openfire::ChatRoom
- Defined in:
- lib/openfire/chat_room.rb
Instance Attribute Summary collapse
-
#admin_groups ⇒ Object
Returns the value of attribute admin_groups.
-
#admins ⇒ Object
Returns the value of attribute admins.
-
#broadcast_presence_roles ⇒ Object
Returns the value of attribute broadcast_presence_roles.
-
#can_anyone_discover_jid ⇒ Object
Returns the value of attribute can_anyone_discover_jid.
-
#can_change_nickname ⇒ Object
Returns the value of attribute can_change_nickname.
-
#can_occupants_change_subject ⇒ Object
Returns the value of attribute can_occupants_change_subject.
-
#can_occupants_invite ⇒ Object
Returns the value of attribute can_occupants_invite.
-
#creation_date ⇒ Object
Returns the value of attribute creation_date.
-
#description ⇒ Object
Returns the value of attribute description.
-
#log_enabled ⇒ Object
Returns the value of attribute log_enabled.
-
#login_restricted_to_nickname ⇒ Object
Returns the value of attribute login_restricted_to_nickname.
-
#max_users ⇒ Object
Returns the value of attribute max_users.
-
#member_groups ⇒ Object
Returns the value of attribute member_groups.
-
#members ⇒ Object
Returns the value of attribute members.
-
#members_only ⇒ Object
Returns the value of attribute members_only.
-
#moderated ⇒ Object
Returns the value of attribute moderated.
-
#modification_date ⇒ Object
Returns the value of attribute modification_date.
-
#natural_name ⇒ Object
Returns the value of attribute natural_name.
-
#outcast_groups ⇒ Object
Returns the value of attribute outcast_groups.
-
#outcasts ⇒ Object
Returns the value of attribute outcasts.
-
#owner_groups ⇒ Object
Returns the value of attribute owner_groups.
-
#owners ⇒ Object
Returns the value of attribute owners.
-
#password ⇒ Object
Returns the value of attribute password.
-
#persistent ⇒ Object
Returns the value of attribute persistent.
-
#publicRoom ⇒ Object
Returns the value of attribute publicRoom.
-
#registrationEnabled ⇒ Object
Returns the value of attribute registrationEnabled.
-
#room_name ⇒ Object
Returns the value of attribute room_name.
-
#subject ⇒ Object
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ChatRoom
constructor
A new instance of ChatRoom.
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_groups ⇒ Object
Returns the value of attribute admin_groups.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def admin_groups @admin_groups end |
#admins ⇒ Object
Returns the value of attribute admins.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def admins @admins end |
#broadcast_presence_roles ⇒ Object
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_jid ⇒ Object
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_nickname ⇒ Object
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_subject ⇒ Object
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_invite ⇒ Object
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_date ⇒ Object
Returns the value of attribute creation_date.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def creation_date @creation_date end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def description @description end |
#log_enabled ⇒ Object
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_nickname ⇒ Object
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 @login_restricted_to_nickname end |
#max_users ⇒ Object
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_groups ⇒ Object
Returns the value of attribute member_groups.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def member_groups @member_groups end |
#members ⇒ Object
Returns the value of attribute members.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def members @members end |
#members_only ⇒ Object
Returns the value of attribute members_only.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def members_only @members_only end |
#moderated ⇒ Object
Returns the value of attribute moderated.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def moderated @moderated end |
#modification_date ⇒ Object
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_name ⇒ Object
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_groups ⇒ Object
Returns the value of attribute outcast_groups.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def outcast_groups @outcast_groups end |
#outcasts ⇒ Object
Returns the value of attribute outcasts.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def outcasts @outcasts end |
#owner_groups ⇒ Object
Returns the value of attribute owner_groups.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def owner_groups @owner_groups end |
#owners ⇒ Object
Returns the value of attribute owners.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def owners @owners end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def password @password end |
#persistent ⇒ Object
Returns the value of attribute persistent.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def persistent @persistent end |
#publicRoom ⇒ Object
Returns the value of attribute publicRoom.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def publicRoom @publicRoom end |
#registrationEnabled ⇒ Object
Returns the value of attribute registrationEnabled.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def registrationEnabled @registrationEnabled end |
#room_name ⇒ Object
Returns the value of attribute room_name.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def room_name @room_name end |
#subject ⇒ Object
Returns the value of attribute subject.
3 4 5 |
# File 'lib/openfire/chat_room.rb', line 3 def subject @subject end |