Sha256: 397edd54eb90dd7aa24697055e8dae184d6cad714e3c57f9aaccf14a7d9ac65f

Contents?: true

Size: 177 Bytes

Versions: 11

Compression:

Stored size: 177 Bytes

Contents

# This class is example of test email
class TestEmail < Howitzer::Email
  subject 'Test email'

  def addressed_to?(new_user)
    /Hi #{new_user}/ === plain_text_body
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/emails/templates/example_email.rb
howitzer-2.6.0 generators/emails/templates/example_email.rb
howitzer-2.5.0 generators/emails/templates/example_email.rb
howitzer-2.4.0 generators/emails/templates/example_email.rb
howitzer-2.3.0 generators/emails/templates/example_email.rb
howitzer-2.2.0 generators/emails/templates/example_email.rb
howitzer-2.1.1 generators/emails/templates/example_email.rb
howitzer-2.1.0 generators/emails/templates/example_email.rb
howitzer-2.0.2 generators/emails/templates/example_email.rb
howitzer-2.0.1 generators/emails/templates/example_email.rb
howitzer-2.0.0 generators/emails/templates/example_email.rb