Sha256: 166f70965287814992f60c5f683844b6c25523d2cddd9cab9495f997bc5b4f1c

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

module Wamp
  module MessageHandler
    # Published confirmation message
    class Published < Base
      def handle
        validate_received_message

        deliver_response(response)
      end

      def response
        Type::Publication.new(publication_id: message.publication_id)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xconn-0.1.2 lib/wamp/message_handler/published.rb
xconn-0.1.1 lib/wamp/message_handler/published.rb
xconn-0.1.0 lib/wamp/message_handler/published.rb