Sha256: 5b32034b4cd5b5704133109834f93dfa09f3ba0b0b20032f5ed20e44570e4b7d
Contents?: true
Size: 605 Bytes
Versions: 4
Compression:
Stored size: 605 Bytes
Contents
require "api_twirp" Rails.application.twirp.routes.draw do service RPC::DummyAPI::DummyService do rpc "Ping", to: "pings#ping" rpc "PingRender", to: "pings#ping_render" rpc "PingTemplate", to: "pings#ping_template" rpc "ErrorResponse", to: "pings#error_response" rpc "RaiseError", to: "pings#raise_error" rpc "UncaughtError", to: "pings#uncaught_raise" rpc "BeforeError", to: "pings#before_error" end scope module: :testmod do service RPC::DummyAPI::DummyService do scope module: "nested" do rpc "Nested", to: "other#ping" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems