Class: RexMailNotification

Inherits:
MailNotification
  • Object
show all
Defined in:
app/models/rex_mail_notification.rb

Constant Summary collapse

FAILED_JOBS =
N_("Subscribe to my failed jobs")
SUCCEEDED_JOBS =
N_("Subscribe to my succeeded jobs")
ALL_JOBS =
N_("Subscribe to all my jobs")

Instance Method Summary collapse

Instance Method Details

#subscription_optionsObject



6
7
8
9
10
11
12
# File 'app/models/rex_mail_notification.rb', line 6

def subscription_options
  [
    FAILED_JOBS,
    SUCCEEDED_JOBS,
    ALL_JOBS,
  ]
end