lib/protobuf/compiler/template/rpc_service.erb in ruby_protobuf-0.3.3 vs lib/protobuf/compiler/template/rpc_service.erb in ruby_protobuf-0.4.1

- old
+ new

@@ -4,11 +4,11 @@ <%- rpcs.each do |name, request, response| -%> class <%= module_name %>::<%= name %>Handler < Protobuf::Rpc::Handler request <%= module_name %>::<%= request %> response <%= module_name %>::<%= response %> - + def self.process_request(request, response) # TODO: edit this method end end @@ -17,9 +17,9 @@ def setup_handlers @handlers = { <%- rpcs.each do |name, | -%> :<%= underscore name %> => <%= module_name %>::<%= name %>Handler, <%- end -%> - } + } end end