Class: Pubnub::Signal
- Inherits:
-
SingleEvent
- Object
- Event
- SingleEvent
- Pubnub::Signal
- Includes:
- Concurrent::Async, Validator::Signal
- Defined in:
- lib/pubnub/events/signal.rb
Overview
Holds history functionality
Instance Attribute Summary collapse
-
#store ⇒ Object
readonly
Returns the value of attribute store.
Attributes inherited from Event
#callback, #channel, #channel_group, #fresh_clone, #given_options, #group, #idle_timeout, #open_timeout, #origin, #presence_callback, #read_timeout, #ssl, #state, #wildcard_channel, #with_presence
Instance Method Summary collapse
-
#initialize(options, app) ⇒ Signal
constructor
A new instance of Signal.
Methods included from Validator::Signal
Methods included from Validator::CommonValidator
#validate_origin, #validate_publish_key, #validate_subscribe_key, #validate_user_id
Methods inherited from Event
#finalized?, #fire, #send_request, #sync?, #uri
Methods included from Event::EFormatter
#format_channels, #format_envelopes, #format_group
Constructor Details
#initialize(options, app) ⇒ Signal
Returns a new instance of Signal.
12 13 14 15 16 17 18 |
# File 'lib/pubnub/events/signal.rb', line 12 def initialize(, app) @event = :signal @telemetry_name = :l_sig super @sequence_number = sequence_number! @origination_time_token = @app.generate_ortt end |
Instance Attribute Details
#store ⇒ Object (readonly)
Returns the value of attribute store.
10 11 12 |
# File 'lib/pubnub/events/signal.rb', line 10 def store @store end |