Class: AgentXmpp::Xmpp::DiscoIdentity
- Inherits:
-
Element
- Object
- REXML::Element
- Element
- AgentXmpp::Xmpp::DiscoIdentity
- Defined in:
- lib/agent_xmpp/xmpp/iq_disco.rb
Overview
Instance Method Summary collapse
- #iname ⇒ Object
-
#iname=(val) ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….….….
-
#initialize(category = nil, iname = nil, type = nil) ⇒ DiscoIdentity
constructor
.….….….….….….….….….….….….….….….….….….….….….….….….….….
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(category = nil, iname = nil, type = nil) ⇒ DiscoIdentity
.….….….….….….….….….….….….….….….….….….….….….….….….….….
167 168 169 170 171 172 |
# File 'lib/agent_xmpp/xmpp/iq_disco.rb', line 167 def initialize(category=nil, iname=nil, type=nil) super() self.category = category if category self.iname = iname if iname self.type = type if type end |
Instance Method Details
#iname ⇒ Object
174 175 176 |
# File 'lib/agent_xmpp/xmpp/iq_disco.rb', line 174 def iname attributes['name'] end |
#iname=(val) ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….….….
179 180 181 |
# File 'lib/agent_xmpp/xmpp/iq_disco.rb', line 179 def iname=(val) attributes['name'] = val end |