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

Version Path
card-mod-follow-0.11.5 set/right/account.rb
card-mod-follow-0.11.4 set/right/account.rb
card-mod-follow-0.11.3 set/right/account.rb
card-mod-follow-0.11.2 set/right/account.rb
card-mod-follow-0.11.1 set/right/account.rb
card-mod-follow-0.11.0 set/right/account.rb
card-1.100.0 mod/follow/set/right/account.rb
card-1.99.6 mod/follow/set/right/account.rb
card-1.99.5 mod/follow/set/right/account.rb
card-1.99.4 mod/follow/set/right/account.rb
card-1.99.3 mod/follow/set/right/account.rb
card-1.99.2 mod/follow/set/right/account.rb