Class: AccountConfirmedNotifier
- Inherits:
-
Struct
- Object
- Struct
- AccountConfirmedNotifier
- Defined in:
- app/workers/account_confirmed_notifier.rb
Overview
DelayedJob Worker to send a message when an account was confirmed Structure:
arg0 = invitation arg1 = subject
Instance Attribute Summary (collapse)
-
- (Object) args
Returns the value of attribute args.
Instance Method Summary (collapse)
-
- (Object) perform
Deliver a Notificaton using module Notifications.
Instance Attribute Details
- (Object) args
Returns the value of attribute args
7 8 9 |
# File 'app/workers/account_confirmed_notifier.rb', line 7 def args @args end |
Instance Method Details
- (Object) perform
Deliver a Notificaton using module Notifications
10 11 12 13 |
# File 'app/workers/account_confirmed_notifier.rb', line 10 def perform user = User.find(args[0]) Notifications::account_confirmed(user,args[1],args[2]).deliver end |