Class: WithAccounts::LoginInvitationsCreating::SendEmailToUser
- Inherits:
-
LetsDoThis::Act
- Object
- LetsDoThis::Act
- WithAccounts::LoginInvitationsCreating::SendEmailToUser
show all
- Includes:
- ErrorsHelpers
- Defined in:
- app/scenarios/with_accounts/login_invitations_creating/send_email_to_user.rb
Instance Method Summary
collapse
#error_key, #format_errors
Instance Method Details
#instructions(stage) ⇒ Object
6
7
8
9
10
11
12
|
# File 'app/scenarios/with_accounts/login_invitations_creating/send_email_to_user.rb', line 6
def instructions(stage)
stage.account.user.send_email_with_login_invitation(stage.login_invitation)
NOTHING_NEW
rescue StandardError
errors.add(error_key, 'err')
NOTHING_NEW
end
|