Class: Blather::Stanza::Iq::Ibb
- Inherits:
-
Blather::Stanza::Iq
- Object
- Niceogiri::XML::Node
- XMPPNode
- Blather::Stanza
- Blather::Stanza::Iq
- Blather::Stanza::Iq::Ibb
- Defined in:
- lib/blather/stanza/iq/ibb.rb
Overview
# In-Band Bytestreams Stanza
[XEP-0047: In-Band Bytestreams](xmpp.org/extensions/xep-0047.html)
Defined Under Namespace
Constant Summary collapse
- NS_IBB =
'http://jabber.org/protocol/ibb'
Constants inherited from Blather::Stanza::Iq
Constants inherited from XMPPNode
Instance Attribute Summary
Attributes inherited from Blather::Stanza
Instance Method Summary collapse
-
#reply ⇒ Object
Overrides the parent method to remove open, close and data nodes.
Methods inherited from Blather::Stanza::Iq
#error?, #get?, import, new, #reply!, #result?, #set?, #type=
Methods inherited from Blather::Stanza
#as_error, #error?, #from, #from=, handler_list, #id, #id=, #initialize, next_id, register, #reply!, #to, #to=, #type, #type=
Methods inherited from XMPPNode
class_from_registration, #decorate, decorator_modules, import, new, parse, register, #to_stanza
Constructor Details
This class inherits a constructor from Blather::Stanza
Instance Method Details
#reply ⇒ Object
Overrides the parent method to remove open, close and data nodes
18 19 20 21 22 23 24 |
# File 'lib/blather/stanza/iq/ibb.rb', line 18 def reply reply = super reply.remove_children :open reply.remove_children :close reply.remove_children :data reply end |