Class: Jabber::MUC::IqQueryMUCAdminItem

Inherits:
UserItem show all
Defined in:
lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/iq/mucadminitem.rb

Instance Method Summary collapse

Methods inherited from UserItem

#actors, #actors=, #affiliation, #affiliation=, #continue, #continue=, #jid, #jid=, #nick, #nick=, #reason, #reason=, #role, #role=, #set_actors, #set_affiliation, #set_continue, #set_jid, #set_nick, #set_reason, #set_role

Methods inherited from XMPPElement

class_for_name_xmlns, #clone, force_xmlns, force_xmlns?, import, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=

Methods inherited from REXML::Element

#==, #delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add

Constructor Details

#initialize(affiliation = nil, role = nil, jid = nil) ⇒ IqQueryMUCAdminItem

Returns a new instance of IqQueryMUCAdminItem.



12
13
14
15
16
17
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/iq/mucadminitem.rb', line 12

def initialize(affiliation=nil, role=nil, jid=nil)
  super()
  set_affiliation(affiliation)
  set_role(role)
  set_jid(jid)
end