Class Jabber::FeatureNegotiation::IqFeature
In: lib/xmpp4r/feature_negotiation/iq/feature.rb
Parent: XMPPElement

Feature negotiation, can appear as direct child to Iq or as child of IqSi

Methods

x  

Public Instance methods

First <x/> child with xmlns=‘jabber:x:data‘

[Source]

    # File lib/xmpp4r/feature_negotiation/iq/feature.rb, line 19
19:       def x
20:         res = nil
21:         each_element('x') { |e|
22:           res = e if e.namespace == 'jabber:x:data'
23:         }
24:         res
25:       end

[Validate]