Sha256: 11aad935469465d339a48a750986facc40ccfae0e4c9e7dd348e075d45c1d806

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

module Wamp
  module MessageHandler
    # Request subscription
    class Unsubscribe < Base
      def send_message(&callback)
        store[store_key] = { callback: callback, subscription_id: message.subscription_id }

        send_serialized message
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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