Sha256: 14d89eb4195d893aa935ec660877b0b9c463f0b3dd44c49afe4dd9ac5b6938f4

Contents?: true

Size: 287 Bytes

Versions: 5

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true
module SocialNetworking
  # Notifies participants of comments, likes, and nudges.
  class Mailer < ActionMailer::Base
    def notify(recipient:, body:, subject:)
      @message_body = body
      mail(to: recipient.email, subject: subject)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
social_networking-0.13.3 app/mailers/social_networking/mailer.rb
social_networking-0.13.2 app/mailers/social_networking/mailer.rb
social_networking-0.13.1 app/mailers/social_networking/mailer.rb
social_networking-0.13.0 app/mailers/social_networking/mailer.rb
social_networking-0.12.0 app/mailers/social_networking/mailer.rb