Class: Ditty::Emails::ForgotPassword

Inherits:
Base
  • Object
show all
Defined in:
lib/ditty/emails/forgot_password.rb

Instance Attribute Summary

Attributes inherited from Base

#locals, #mail, #options

Instance Method Summary collapse

Methods inherited from Base

#deliver!, deliver!, #method_missing, #respond_to_missing?

Constructor Details

#initialize(options = {}) ⇒ ForgotPassword

Returns a new instance of ForgotPassword.



9
10
11
12
# File 'lib/ditty/emails/forgot_password.rb', line 9

def initialize(options = {})
  options = { view: :forgot_password, layout: :action, subject: 'Request to reset password' }.merge(options)
  super(options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ditty::Emails::Base