lib/httpx/plugins/grpc.rb in httpx-0.17.0 vs lib/httpx/plugins/grpc.rb in httpx-0.18.0

- old
+ new

@@ -141,12 +141,12 @@ deadline: @options.grpc_deadline, }.merge(opts) session_class = Class.new(self.class) do class_eval(<<-OUT, __FILE__, __LINE__ + 1) - def #{rpc_name}(input, **opts) - rpc_execute("#{rpc_name}", input, **opts) - end + def #{rpc_name}(input, **opts) # def grpc_action(input, **opts) + rpc_execute("#{rpc_name}", input, **opts) # rpc_execute("grpc_action", input, **opts) + end # end OUT end session_class.new(@options.merge( grpc_rpcs: @options.grpc_rpcs.merge(