Class: Riddl::Protocols::XMPP::Stanza
- Inherits:
-
Blather::Stanza
- Object
- Blather::Stanza
- Riddl::Protocols::XMPP::Stanza
- Defined in:
- lib/ruby/riddl/protocols/xmpp/generator.rb
Class Method Summary collapse
Class Method Details
.new ⇒ Object
12 13 14 15 16 17 |
# File 'lib/ruby/riddl/protocols/xmpp/generator.rb', line 12 def self.new node = super :message node.type = :normal node.id = SecureRandom.uuid node end |