class PipeRpc::ResultResponse; end module PipeRpc class Client::Request::ResultResponse < ResultResponse def initialize(request, body) @request = request super body end def to_result result end end end