Sha256: e5fc7d7e068db569a475cc759eeebf1ca0da977f441881fedc632f80ace702b7

Contents?: true

Size: 409 Bytes

Versions: 23

Compression:

Stored size: 409 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

23 entries across 23 versions & 1 rubygems

Version Path
card-mod-follow-0.11.7 set/right/account.rb
card-mod-follow-0.12.0 set/right/account.rb
card-mod-follow-0.11.6 set/right/account.rb