Sha256: e1e1ecd425dec33d6d542a8cd03ecec5ee0bd8158dae48938da6b6df93daacef
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 Bytes
Contents
module PipeRpc class Hub::Request::Result def initialize(request, result) @request, @result = request, result end def value @request.hub.transport_mapper.to_transport @result end def to_response ResultResponse.new(id: @request.id, result: value) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pipe_rpc-2.5.0 | lib/pipe_rpc/hub_request_result.rb |
pipe_rpc-2.4.0 | lib/pipe_rpc/hub_request_result.rb |