Flowdock
method

after_subscribe

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: ClassMethods
after_subscribe(*methods, &block) public

This callback will be triggered after the Base#subscribed method is called, even if the subscription was rejected with the Base#reject method.

To trigger the callback only on successful subscriptions, use the Base#subscription_rejected? method:

after_subscribe :my_method, unless: :subscription_rejected?
Show source
Register or log in to add new notes.