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
- #reset ⇒ Object
- #subscribe(identifier, callable) ⇒ Object
- #subscribed(identifier, callable, &block) ⇒ Object
Instance Method Details
#publish(identifier, event) ⇒ Object
17 18 19 |
# File 'lib/downstream/pubsub_adapters/abstract_pubsub.rb', line 17 def publish(identifier, event) raise NotImplementedError end |
#reset ⇒ Object
5 6 7 |
# File 'lib/downstream/pubsub_adapters/abstract_pubsub.rb', line 5 def reset raise NotImplementedError end |
#subscribe(identifier, callable) ⇒ Object
9 10 11 |
# File 'lib/downstream/pubsub_adapters/abstract_pubsub.rb', line 9 def subscribe(identifier, callable) raise NotImplementedError end |
#subscribed(identifier, callable, &block) ⇒ Object
13 14 15 |
# File 'lib/downstream/pubsub_adapters/abstract_pubsub.rb', line 13 def subscribed(identifier, callable, &block) raise NotImplementedError end |