Class: AgentXmpp::Xmpp::Item

Inherits:
Element show all
Defined in:
lib/agent_xmpp/xmpp/iq_pubsub.rb

Overview


Direct Known Subclasses

EventItem

Instance Method Summary collapse

Methods inherited from Element

#<<, class_for_name_xmlns, #clone, import, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=, xmpp_attribute, xmpp_child

Methods inherited from REXML::Element

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

Constructor Details

#initialize(id = nil) ⇒ Item

Returns a new instance of Item.



185
186
187
188
# File 'lib/agent_xmpp/xmpp/iq_pubsub.rb', line 185

def initialize(id=nil)
  super()
  self.id = id if id
end