Class: RailsTwirp::RouteSet::ServiceMapper
- Inherits:
-
Object
- Object
- RailsTwirp::RouteSet::ServiceMapper
- Defined in:
- lib/rails_twirp/route_set.rb
Instance Method Summary collapse
-
#initialize(service_route_set) ⇒ ServiceMapper
constructor
A new instance of ServiceMapper.
- #rpc(name, to:) ⇒ Object
Constructor Details
#initialize(service_route_set) ⇒ ServiceMapper
Returns a new instance of ServiceMapper.
91 92 93 |
# File 'lib/rails_twirp/route_set.rb', line 91 def initialize(service_route_set) @service_route_set = service_route_set end |