Class: Vines::Stream::Client::Ready
- Defined in:
- lib/vines/stream/client/ready.rb
Direct Known Subclasses
Constant Summary
Constants inherited from State
Instance Attribute Summary
Attributes inherited from State
Instance Method Summary collapse
Methods inherited from State
#==, #eql?, #hash, #initialize
Methods included from Log
Constructor Details
This class inherits a constructor from Vines::Stream::State
Instance Method Details
#node(node) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/vines/stream/client/ready.rb', line 7 def node(node) stanza = to_stanza(node) raise StreamErrors::UnsupportedStanzaType unless stanza stanza.validate_to stanza.validate_from stanza.process end |