Method: RJR::HandlesMethods::ClassMethods#jr_method
- Defined in:
- lib/rjr/util/handles_methods.rb
#jr_method(*args) ⇒ Object
Register one or more json-rpc methods.
Invoke w/ list of method signatures to match in dispatcher w/ optional id of local method to dispatch to. If no method specified, the :handle method will be used
93 94 95 96 |
# File 'lib/rjr/util/handles_methods.rb', line 93 def jr_method(*args) @jr_method_args ||= [] @jr_method_args << args end |