Class | Jabber::Discovery::Feature |
In: |
lib/xmpp4r/discovery/iq/discoinfo.rb
|
Parent: | REXML::Element |
Service Discovery feature to add() to IqQueryDiscoInfo
Please note that JEP 0030 requires var to be set
Create a new <feature/> element
var: | [String] New var |
# File lib/xmpp4r/discovery/iq/discoinfo.rb, line 194 194: def initialize(var=nil) 195: super('feature') 196: set_var(var) 197: end
Set the feature’s var (chaining-friendly)
val: | [String] |
# File lib/xmpp4r/discovery/iq/discoinfo.rb, line 218 218: def set_var(val) 219: self.var = val 220: self 221: end