Class: Voltron::Config::Notify
- Inherits:
-
Object
- Object
- Voltron::Config::Notify
- Defined in:
- lib/voltron/config/notify.rb
Instance Attribute Summary collapse
-
#default_mailer ⇒ Object
Email config settings.
-
#default_method ⇒ Object
Email config settings.
-
#default_template ⇒ Object
Email config settings.
-
#email_from ⇒ Object
Email config settings.
-
#sms_account_sid ⇒ Object
SMS config settings.
-
#sms_auth_token ⇒ Object
SMS config settings.
-
#sms_from ⇒ Object
SMS config settings.
-
#use_queue ⇒ Object
Returns the value of attribute use_queue.
Instance Method Summary collapse
-
#initialize ⇒ Notify
constructor
A new instance of Notify.
Constructor Details
#initialize ⇒ Notify
Returns a new instance of Notify.
18 19 20 21 22 23 24 |
# File 'lib/voltron/config/notify.rb', line 18 def initialize @use_queue ||= false @email_from ||= '[email protected]' @default_mailer = Voltron::NotificationMailer @default_method = :notify @default_template = 'voltron/notification_mailer/notify.html.erb' end |
Instance Attribute Details
#default_mailer ⇒ Object
Email config settings
16 17 18 |
# File 'lib/voltron/config/notify.rb', line 16 def default_mailer @default_mailer end |
#default_method ⇒ Object
Email config settings
16 17 18 |
# File 'lib/voltron/config/notify.rb', line 16 def default_method @default_method end |
#default_template ⇒ Object
Email config settings
16 17 18 |
# File 'lib/voltron/config/notify.rb', line 16 def default_template @default_template end |
#email_from ⇒ Object
Email config settings
16 17 18 |
# File 'lib/voltron/config/notify.rb', line 16 def email_from @email_from end |
#sms_account_sid ⇒ Object
SMS config settings
13 14 15 |
# File 'lib/voltron/config/notify.rb', line 13 def sms_account_sid @sms_account_sid end |
#sms_auth_token ⇒ Object
SMS config settings
13 14 15 |
# File 'lib/voltron/config/notify.rb', line 13 def sms_auth_token @sms_auth_token end |
#sms_from ⇒ Object
SMS config settings
13 14 15 |
# File 'lib/voltron/config/notify.rb', line 13 def sms_from @sms_from end |
#use_queue ⇒ Object
Returns the value of attribute use_queue.
10 11 12 |
# File 'lib/voltron/config/notify.rb', line 10 def use_queue @use_queue end |