Sha256: d8222c2cd4f9dfc06c18e619b9a2144f374a8e854ab3eb5d92cf71c12f8bcdde
Contents?: true
Size: 677 Bytes
Versions: 34
Compression:
Stored size: 677 Bytes
Contents
# =XMPP4R - XMPP Library for Ruby # License:: Ruby's license (see the LICENSE file) or GNU GPL, at your option. # Website::http://home.gna.org/xmpp4r/ require 'xmpp4r/iq' require 'xmpp4r/dataforms/x/data' module Jabber module FeatureNegotiation ## # Feature negotiation, # can appear as direct child to Iq # or as child of IqSi class IqFeature < XMPPElement name_xmlns 'feature', 'http://jabber.org/protocol/feature-neg' ## # First <x/> child with xmlns='jabber:x:data' def x res = nil each_element('x') { |e| res = e if e.namespace == 'jabber:x:data' } res end end end end
Version data entries
34 entries across 34 versions & 13 rubygems