Class: Downstream::AbstractPubsub
- Inherits:
-
Object
- Object
- Downstream::AbstractPubsub
- Defined in:
- lib/downstream/pubsub_adapters/abstract_pubsub.rb
Direct Known Subclasses
Instance Method Summary collapse
- #publish(identifier, event) ⇒ Object
- #subscribe(identifier, callable) ⇒ Object
- #subscribed(identifier, callable, &block) ⇒ Object
Instance Method Details
#publish(identifier, event) ⇒ Object
11 12 13 |
# File 'lib/downstream/pubsub_adapters/abstract_pubsub.rb', line 11 def publish(identifier, event) raise NotImplementedError end |
#subscribe(identifier, callable) ⇒ Object
3 4 5 |
# File 'lib/downstream/pubsub_adapters/abstract_pubsub.rb', line 3 def subscribe(identifier, callable) raise NotImplementedError end |
#subscribed(identifier, callable, &block) ⇒ Object
7 8 9 |
# File 'lib/downstream/pubsub_adapters/abstract_pubsub.rb', line 7 def subscribed(identifier, callable, &block) raise NotImplementedError end |