Class: Protod::Rpc::Response::Receiver

Inherits:
Object
  • Object
show all
Defined in:
lib/protod/rpc/response.rb

Defined Under Namespace

Classes: Base

Constant Summary collapse

ONEOF_NAME =
'procedure'

Class Method Summary collapse

Class Method Details

.register_for(*ruby_idents, with: Base, **options, &body) ⇒ Object



44
45
46
# File 'lib/protod/rpc/response.rb', line 44

def register_for(*ruby_idents, with: Base, **options, &body)
  Protod::Rpc::Response.register_for(*ruby_idents, **options.merge(with: with), &body)
end