Method: Jabber::PubSub::Configuration#options
- Defined in:
- lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/configuration.rb
#options ⇒ Object
get a list of the configured options represented by this stanza
- return
- Hash
-
the options and their values
46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/vendor/xmpp4r/lib/xmpp4r/pubsub/children/configuration.rb', line 46 def = {} if !form.nil? form.fields.each do |f| f.values.size == 1 ? [f.var] = f.values.first : [f.var] = f.values end end end |