-
Notifications
You must be signed in to change notification settings - Fork 75
newspaper gem置き換え - 退会時の通知システム #9152
Copy link
Copy link
Open
Labels
Description
概要
newspaper gemによるユーザーのライフサイクル関連退会時の通知システムをRailsの標準的な仕組みに置き換えます。
詳細は下記を参照してください。
newspaper廃止 · fjordllc/bootcamp Wiki
一部、#9015 こちらのPRで対応をしているため、その部分は打ち消し線で消してあります。
対象イベント
:graduation_update→'graduation.update':comeback_update→'comeback.update':retirement_create→'retirement.create'
対象ファイル
Publisher(イベント発行側)
app/controllers/graduation_controller.rb:12app/controllers/comeback_controller.rb:15app/controllers/retirement_controller.rb:17
Subscriber(イベント購読側)
app/models/graduation_notifier.rbapp/models/comeback_notifier.rbapp/models/unfinished_data_destroyer.rb(retirement_create購読)
チェックリスト
GraduationNotifierクラスのインターフェース確認ComebackNotifierクラスのインターフェース確認- UnfinishedDataDestroyerクラスのインターフェース確認
graduation.update通知の置き換え実装comeback.update通知の置き換え実装- retirement.create通知の置き換え実装
- ユーザーライフサイクル関連テストの修正
- 動作確認(
卒業・復活・退会処理)
注意点
卒業・復活・退会時の通知タイミングが重要- UnfinishedDataDestroyerの処理内容を確認
- 管理者による操作時の動作も確認
Reactions are currently unavailable