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.18.1 set/right/account.rb
card-mod-follow-0.18.0 set/right/account.rb
card-mod-follow-0.17.0 set/right/account.rb
card-mod-follow-0.16.0 set/right/account.rb
card-mod-follow-0.15.6 set/right/account.rb
card-mod-follow-0.15.5 set/right/account.rb
card-mod-follow-0.15.4 set/right/account.rb
card-mod-follow-0.15.3 set/right/account.rb
card-mod-follow-0.15.2.pre1 set/right/account.rb
card-mod-follow-0.15.1.1 set/right/account.rb
card-mod-follow-0.15.1 set/right/account.rb
card-mod-follow-0.15.0 set/right/account.rb
card-mod-follow-0.14.2 set/right/account.rb
card-mod-follow-0.14.1 set/right/account.rb
card-mod-follow-0.14.0 set/right/account.rb
card-mod-follow-0.13.4 set/right/account.rb
card-mod-follow-0.13.3 set/right/account.rb
card-mod-follow-0.13.2 set/right/account.rb
card-mod-follow-0.13.1 set/right/account.rb
card-mod-follow-0.13.0 set/right/account.rb