wupee icon indicating copy to clipboard operation
wupee copied to clipboard

Prevent email notification based on attached_object_type

Open rtcoms opened this issue 8 years ago • 1 comments

current configuration allow to prevent email only on basis of receiver and notification_type.

Wupee.email_sending_rule = Proc.new do |receiver, notification_type| 
end

In my case I need to prevent email notification based on attached_object type. How should I go about it ?

rtcoms avatar Sep 18 '17 16:09 rtcoms

Solved in by having a separate attribute on receiver and using that in Wupee.email_sending_rule Proc. Closing it.

rtcoms avatar Sep 18 '17 20:09 rtcoms