Module: Reacto::Subscriptions::Subscription

Instance Method Summary collapse

Instance Method Details

#add(subscription) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/reacto/subscriptions/subscription.rb', line 12

def add(subscription)
  raise NotImplementedError.new('Abstract method!')
end

#add_resource(resource) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/reacto/subscriptions/subscription.rb', line 16

def add_resource(resource)
  raise NotImplementedError.new('Abstract method!')
end

#subscribed?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/reacto/subscriptions/subscription.rb', line 4

def subscribed?
  raise NotImplementedError.new('Abstract method!')
end

#unsubscribeObject

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/reacto/subscriptions/subscription.rb', line 8

def unsubscribe
  raise NotImplementedError.new('Abstract method!')
end