Class: Slanger::PrivateSubscription
- Inherits:
-
Subscription
- Object
- Subscription
- Slanger::PrivateSubscription
- Defined in:
- lib/slanger/private_subscription.rb
Instance Attribute Summary
Attributes inherited from Subscription
Instance Method Summary collapse
Methods inherited from Subscription
Constructor Details
This class inherits a constructor from Slanger::Subscription
Instance Method Details
#subscribe ⇒ Object
3 4 5 6 7 |
# File 'lib/slanger/private_subscription.rb', line 3 def subscribe return handle_invalid_signature if auth.blank? || invalid_signature? Subscription.new(connection.socket, connection.socket_id, @msg).subscribe end |