Service Discovery feature to add() to IqQueryDiscoInfo
Please note that JEP 0030 requires var to be set, for a reference see: www.xmpp.org/registrar/disco-features.html
Create a new <feature/> element
New var
# File lib/xmpp4r/discovery/iq/discoinfo.rb, line 181 def initialize(var=nil) super() set_var(var) end
Set the feature's var (chaining-friendly)
# File lib/xmpp4r/discovery/iq/discoinfo.rb, line 205 def set_var(val) self.var = val self end
Get the feature's var or nil
# File lib/xmpp4r/discovery/iq/discoinfo.rb, line 189 def var attributes['var'] end
Set the feature's var
This is a namespace the identity supports.
# File lib/xmpp4r/discovery/iq/discoinfo.rb, line 198 def var=(val) attributes['var'] = val end