mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
13 lines
232 B
Ruby
13 lines
232 B
Ruby
class InvitationMailer < ApplicationMailer
|
|
def invite(invitation:, subject:, body:)
|
|
Current.tenant = invitation.tenant
|
|
|
|
to = invitation.email
|
|
@body = body
|
|
|
|
mail(
|
|
to: to,
|
|
subject: subject
|
|
)
|
|
end
|
|
end |