Class: Hyperloop::ControllerOp
- Defined in:
- lib/hyper-operation/server_op.rb
Constant Summary
Constants inherited from Operation
Instance Method Summary collapse
Methods inherited from ServerOp
#_dispatch_to, deserialize_dispatch, deserialize_params, deserialize_response, dispatch_from_server, dispatch_to, remote, #run, run_from_client, serialize_dispatch, serialize_params, serialize_response
Methods inherited from Operation
_Railway, _run, #abort!, #add_error, add_error, async, fail, failed, #has_errors?, inbound, inherited, #initialize, on_dispatch, outbound, param, #params, run, step, #succeed!, then, validate
Constructor Details
This class inherits a constructor from Hyperloop::Operation
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
106 107 108 109 110 111 112 |
# File 'lib/hyper-operation/server_op.rb', line 106 def method_missing(name, *args, &block) if params.controller.respond_to? name params.controller.send(name, *args, &block) else pre_controller_op_method_missing(name, *args, &block) end end |
Instance Method Details
#pre_controller_op_method_missing ⇒ Object
105 |
# File 'lib/hyper-operation/server_op.rb', line 105 alias pre_controller_op_method_missing method_missing |