Sha256: 4add8f959a703bacd9b99e05abbc6fcd4054f1e13defcf6232b8b0ab527efe9b

Contents?: true

Size: 573 Bytes

Versions: 16

Compression:

Stored size: 573 Bytes

Contents

# Toplevel Pubnub module.
module Pubnub
  # SingleEvent module holds infrastructure for non-subscribe events
  class SingleEvent < Event
    private

    def request_dispatcher
      @app.request_dispatcher(@origin, :single_event, @http_sync)
    end

    # Just stubs
    def finalize_event(_envelopes); end

    def path; end

    def timetoken(_parsed_response); end

    def response_message(_parsed_response); end

    def format_envelopes(_response); end

    def valid_envelope(_parsed_response); end

    def error_envelope(_parsed_response, _error); end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pubnub-3.8.5 lib/pubnub/single_event.rb
pubnub-3.8.4 lib/pubnub/single_event.rb
pubnub-4.0.9 lib/pubnub/single_event.rb
pubnub-4.0.8 lib/pubnub/single_event.rb
pubnub-4.0.7 lib/pubnub/single_event.rb
pubnub-3.8.2 lib/pubnub/single_event.rb
pubnub-4.0.6 lib/pubnub/single_event.rb
pubnub-4.0.5 lib/pubnub/single_event.rb
pubnub-4.0.4 lib/pubnub/single_event.rb
pubnub-4.0.3 lib/pubnub/single_event.rb
pubnub-4.0.1 lib/pubnub/single_event.rb
pubnub-4.0.0 lib/pubnub/single_event.rb
pubnub-4.0.0beta2 lib/pubnub/single_event.rb
pubnub-4.0.0beta1 lib/pubnub/single_event.rb
pubnub-3.8.1 lib/pubnub/single_event.rb
pubnub-3.8.0 lib/pubnub/single_event.rb