Sha256: 911c15e989e9a77631c4fe9aa1423dcf980b7b9c3237767365abeff601f9e527
Contents?: true
Size: 405 Bytes
Versions: 12
Compression:
Stored size: 405 Bytes
Contents
def send_change_notice act, followed_set, follow_option return unless email.present? && changes_visible?(act) notify_of_act act do { follower: left.name, followed_set: followed_set, follow_option: follow_option } end end def notify_of_act act Auth.as(left.id) do Card[:follower_notification_email].deliver( act.card, { to: email }, auth: left, active_notice: yield ) end end
Version data entries
12 entries across 12 versions & 2 rubygems