denny/ShinyCMS-ruby

View on GitHub
lib/templates/shiny/plugin/app/mailers/%namespaced_name%/application_mailer.rb.tt

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

<%= wrap_in_modules <<~rb
  # Base mailer for #{camelized_modules}
  class ApplicationMailer < ShinyCMS::BaseMailer
    def check_feature_flags
      stop!
    end

    def check_ok_to_email
      stop!
    end
  end
rb
%>