Class: Blather::Stanza::Iq::Ibb::Open
- Inherits:
-
Blather::Stanza::Iq::Ibb
- Object
- Niceogiri::XML::Node
- XMPPNode
- Blather::Stanza
- Blather::Stanza::Iq
- Blather::Stanza::Iq::Ibb
- Blather::Stanza::Iq::Ibb::Open
- Defined in:
- lib/blather/stanza/iq/ibb.rb
Overview
An Open stanza to
Constant Summary
Constants inherited from Blather::Stanza::Iq::Ibb
Constants inherited from Blather::Stanza::Iq
Constants inherited from XMPPNode
Instance Attribute Summary
Attributes inherited from Blather::Stanza
Instance Method Summary collapse
-
#open ⇒ Nokogiri::XML::Element
Find open node.
-
#sid ⇒ String
Get the sid of the file transfer.
Methods inherited from Blather::Stanza::Iq::Ibb
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, #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
#open ⇒ Nokogiri::XML::Element
Find open node
33 34 35 |
# File 'lib/blather/stanza/iq/ibb.rb', line 33 def open find_first('ns:open', :ns => NS_IBB) end |
#sid ⇒ String
Get the sid of the file transfer
40 41 42 |
# File 'lib/blather/stanza/iq/ibb.rb', line 40 def sid open['sid'] end |