Module: Reacto::Subscriptions::Subscription
- Included in:
- BufferedSubscription, CompositeSubscription, ExecutorSubscription, InnerSubscription, OperationSubscription, SimpleSubscription, SubscriptionWrapper, TrackerSubscription
- Defined in:
- lib/reacto/subscriptions/subscription.rb
Instance Method Summary collapse
- #add(subscription) ⇒ Object
- #add_resource(resource) ⇒ Object
- #subscribed? ⇒ Boolean
- #unsubscribe ⇒ Object
Instance Method Details
#add(subscription) ⇒ Object
12 13 14 |
# File 'lib/reacto/subscriptions/subscription.rb', line 12 def add(subscription) raise NotImplementedError.new('Abstract method!') end |
#add_resource(resource) ⇒ Object
16 17 18 |
# File 'lib/reacto/subscriptions/subscription.rb', line 16 def add_resource(resource) raise NotImplementedError.new('Abstract method!') end |
#subscribed? ⇒ Boolean
4 5 6 |
# File 'lib/reacto/subscriptions/subscription.rb', line 4 def subscribed? raise NotImplementedError.new('Abstract method!') end |
#unsubscribe ⇒ Object
8 9 10 |
# File 'lib/reacto/subscriptions/subscription.rb', line 8 def unsubscribe raise NotImplementedError.new('Abstract method!') end |