Class: WithAccounts::LoginInvitationsCreating::SendEmailToUser

Inherits:
LetsDoThis::Act
  • Object
show all
Includes:
ErrorsHelpers
Defined in:
app/scenarios/with_accounts/login_invitations_creating/send_email_to_user.rb

Instance Method Summary collapse

Methods included from ErrorsHelpers

#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..user.(stage.)
  NOTHING_NEW
rescue StandardError
  errors.add(error_key, 'err')
  NOTHING_NEW
end