Sha256: b0ea5c4a167e927ad6ac590d2403012e2eb288cd620581fe639c754e132a7c90

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

email = -> { 'foo@foo.com' }

Maily.hooks_for('Notifier') do |mailer|
  mailer.register_hook(:invitation, email)
  mailer.register_hook(:recommendation, template_path: 'notifications', description: 'description')
  mailer.register_hook(:custom_template_name, template_name: 'invitation')

  mailer.hide_email(:hidden)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maily-0.7.2 spec/dummy/lib/maily_hooks.rb
maily-0.7.1 spec/dummy/lib/maily_hooks.rb
maily-0.7.0 spec/dummy/lib/maily_hooks.rb