aboutsummaryrefslogblamecommitdiffstats
path: root/actionmailbox/lib/rails/generators/installer.rb
blob: 25cf528ef551cf42834cb483371c83f522e12f20 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                             


                                                                                                       
                                               



                                                       
# frozen_string_literal: true

say "Copying application_mailbox.rb to app/mailboxes"
copy_file "#{__dir__}/mailbox/templates/application_mailbox.rb", "app/mailboxes/application_mailbox.rb"

environment <<~end_of_config, env: "production"
  # Prepare the ingress controller used to receive mail
  # config.action_mailbox.ingress = :amazon

end_of_config