Sha256: 616ef81c2c7e107d78f68a7338a8833e2bdbaa50df8b17612d7e0380914da20e
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true module Wamp module MessageHandler # Result class Result < Base def handle validate_received_message if message.details[:progress] store[store_key].fetch(:handler).call(response) else stored_data.fetch(:handler).call(response) end end def response Type::Result.new(args: message.args, kwargs: message.kwargs, details: message.details) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xconn-0.1.2 | lib/wamp/message_handler/result.rb |
xconn-0.1.1 | lib/wamp/message_handler/result.rb |