Sha256: 55b14c1159f6e00aaa1e1b84ad946434f69d51b0f3686460fb87e1cab8504370

Contents?: true

Size: 166 Bytes

Versions: 7

Compression:

Stored size: 166 Bytes

Contents

Maily.hooks_for('Notifier') do |mailer|
  mailer.register_hook(:invitation, 'foo@foo.com')
  mailer.register_hook(:recommendation, template_path: 'notifications')
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
maily-0.5.0 spec/dummy/lib/maily_hooks.rb
maily-0.4.0 spec/dummy/lib/maily_hooks.rb
maily-0.3.5 spec/dummy/lib/maily_hooks.rb
maily-0.3.4 spec/dummy/lib/maily_hooks.rb
maily-0.3.3 spec/dummy/lib/maily_hooks.rb
maily-0.3.2 spec/dummy/lib/maily_hooks.rb
maily-0.3.1 spec/dummy/lib/maily_hooks.rb