Sha256: b6f0bd7ee297f2dc0e5278fdd37ec8695f91a27bcae09ec619ec5b05f2d45b98

Contents?: true

Size: 299 Bytes

Versions: 10

Compression:

Stored size: 299 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %> < Outbox::Notifier
  default email: { from: 'noreply@myapp.com' }
<% actions.each do |action| -%>

  def <%= action %>
    @greeting = 'Hi'

    email do
      subject 'Example Subject'
    end

    render_message
  end
<% end -%>
end
<% end -%>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
outbox-rails-1.1.0 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-1.0.0 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.5.1 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.5.0 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.4.2 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.4.1 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.4.0 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.3.0 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.2.0 lib/generators/outbox/notifier/templates/notifier.rb
outbox-rails-0.1.2 lib/generators/outbox/notifier/templates/notifier.rb