Module: ActiveRemote::RPC

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_remote/rpc.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#remote_call(rpc_method, request_args) ⇒ Object



61
62
63
# File 'lib/active_remote/rpc.rb', line 61

def remote_call(rpc_method, request_args)
  self.class.remote_call(rpc_method, request_args)
end

#rpcObject



65
66
67
# File 'lib/active_remote/rpc.rb', line 65

def rpc
  self.class.rpc
end