Class: Vines::Services::Controller::DiscoInfoController
- Inherits:
-
BaseController
- Object
- BaseController
- Vines::Services::Controller::DiscoInfoController
- Defined in:
- lib/vines/services/controller/disco_info_controller.rb
Instance Attribute Summary
Attributes inherited from BaseController
#node, #storage, #stream, #uploads
Instance Method Summary collapse
Methods inherited from BaseController
Constructor Details
This class inherits a constructor from Vines::Services::Controller::BaseController
Instance Method Details
#process ⇒ Object
9 10 11 12 |
# File 'lib/vines/services/controller/disco_info_controller.rb', line 9 def process reply = (node.to == stream.jid) ? component : service stream.write(reply) if reply end |