Sha256: 1b2c07f067958fa1f2d0fd5db7da4b2e0c011114fe27180cd1627300d04b5126

Contents?: true

Size: 640 Bytes

Versions: 1

Compression:

Stored size: 640 Bytes

Contents

# frozen_string_literal: true

class CachingMailer < ActionMailer::Base
  self.mailer_name = "caching_mailer"

  def fragment_cache
    mail(subject: "welcome", template_name: "fragment_cache")
  end

  def fragment_cache_in_partials
    mail(subject: "welcome", template_name: "fragment_cache_in_partials")
  end

  def skip_fragment_cache_digesting
    mail(subject: "welcome", template_name: "skip_fragment_cache_digesting")
  end

  def fragment_caching_options
    mail(subject: "welcome", template_name: "fragment_caching_options")
  end

  def multipart_cache
    mail(subject: "welcome", template_name: "multipart_cache")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-on-quails-0.1.0 actionmailer/test/mailers/caching_mailer.rb