lib/mushroom/subscriber.rb
# Internal: Trigger the notification within this subscriber
Trigger the notification within this subscriber
Trigger the notification within this subscriber
def notify(event)
        instance = new(event)
        if instance.method(:notify).arity == 0
          instance.notify
        elsif instance.method(:notify).arity > 0
          instance.notify(*event.payload[:args])
        end
      end
def notify ( event ) instance = new ( event ) if instance . method ( :notify ) . arity == 0 instance . notify elsif instance . method ( :notify ) . arity > 0 instance . notify ( * event . payload [ :args ] ) end end
Internal: Trigger the notification within this subscriber
Internal : Trigger the notification within this subscriber
event
<not_specific>