3147: PySDK tests use mock>=1.0 and easier mock side_effect.
[arvados.git] / services / api / app / mailers / profile_notifier.rb
1 class ProfileNotifier < ActionMailer::Base
2   default from: Rails.configuration.admin_notifier_email_from
3
4   def profile_created(user, address)
5     @user = user
6     mail(to: address, subject: "Profile created by #{@user.email}")
7   end
8 end