diff options
Diffstat (limited to 'actionmailbox/lib/rails/generators/mailbox/templates')
-rw-r--r-- | actionmailbox/lib/rails/generators/mailbox/templates/application_mailbox.rb.tt | 5 | ||||
-rw-r--r-- | actionmailbox/lib/rails/generators/mailbox/templates/mailbox.rb.tt | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/actionmailbox/lib/rails/generators/mailbox/templates/application_mailbox.rb.tt b/actionmailbox/lib/rails/generators/mailbox/templates/application_mailbox.rb.tt new file mode 100644 index 0000000000..be51eb3639 --- /dev/null +++ b/actionmailbox/lib/rails/generators/mailbox/templates/application_mailbox.rb.tt @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class ApplicationMailbox < ActionMailbox::Base + # routing /something/i => :somewhere +end diff --git a/actionmailbox/lib/rails/generators/mailbox/templates/mailbox.rb.tt b/actionmailbox/lib/rails/generators/mailbox/templates/mailbox.rb.tt new file mode 100644 index 0000000000..56b138e2d9 --- /dev/null +++ b/actionmailbox/lib/rails/generators/mailbox/templates/mailbox.rb.tt @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +class <%= class_name %>Mailbox < ApplicationMailbox + def process + end +end |