Sha256: 5dffad40fca2c08ed96cf82a26a5ec563822a58b5840f96c8c730f84c838549f

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

require 'action_mailer'

class SampleMailer < ActionMailer::Base
  def welcome
    mail(from: 'some-dude@example.com', to: 'some-other-dude@example.com', subject: 'Hello, there') do |format|
      format.text { render plain: 'OK' }
    end
  end

  def receive(email)
  end

  def _render_template(_)
    ""
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstasher-0.6.0 spec/support/sample_mailer.rb