Class: Jabber::MUC::XMUC

Class | Jabber::MUC::XMUC
In: | lib/xmpp4r/muc/x/muc.rb
Parent: | X

Class for <x/> elements with namespace jabber.org/protocol/muc

See JEP-0045 for details

### Methods

password password=

### Public Instance methods

password()

Text content of the `<password/>` element

[Source]

        # File lib/xmpp4r/muc/x/muc.rb, line 20
    20:       def password
    21:         first_element_text('password')
    22:       end

password=(s)

Set the password for joining a room (text content of the `<password/>` element)

[Source]

        # File lib/xmpp4r/muc/x/muc.rb, line 27
    27:       def password=(s)
    28:         if s
    29:           replace_element_text('password', s)
    30:         else
    31:           delete_elements('password')
    32:         end
    33:       end

[Validate]