Merge branch '9463-pysdk-amended'
[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