Class: NotifyOn::Configuration
- Inherits:
-
Object
- Object
- NotifyOn::Configuration
- Defined in:
- lib/notify_on/configuration.rb
Instance Attribute Summary collapse
-
#default_email ⇒ Object
Returns the value of attribute default_email.
-
#default_pusher_channel ⇒ Object
Returns the value of attribute default_pusher_channel.
-
#default_pusher_event ⇒ Object
Returns the value of attribute default_pusher_event.
-
#deliver_mail ⇒ Object
Returns the value of attribute deliver_mail.
-
#mailer_class ⇒ Object
Returns the value of attribute mailer_class.
-
#pusher_app_id ⇒ Object
Returns the value of attribute pusher_app_id.
-
#pusher_key ⇒ Object
Returns the value of attribute pusher_key.
-
#pusher_secret ⇒ Object
Returns the value of attribute pusher_secret.
-
#use_pusher_by_default ⇒ Object
Returns the value of attribute use_pusher_by_default.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 |
# File 'lib/notify_on/configuration.rb', line 15 def initialize @deliver_mail = :now @mailer_class = 'NotifyOn::NotificationMailer' @use_pusher_by_default = false end |
Instance Attribute Details
#default_email ⇒ Object
Returns the value of attribute default_email.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def default_email @default_email end |
#default_pusher_channel ⇒ Object
Returns the value of attribute default_pusher_channel.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def default_pusher_channel @default_pusher_channel end |
#default_pusher_event ⇒ Object
Returns the value of attribute default_pusher_event.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def default_pusher_event @default_pusher_event end |
#deliver_mail ⇒ Object
Returns the value of attribute deliver_mail.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def deliver_mail @deliver_mail end |
#mailer_class ⇒ Object
Returns the value of attribute mailer_class.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def mailer_class @mailer_class end |
#pusher_app_id ⇒ Object
Returns the value of attribute pusher_app_id.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def pusher_app_id @pusher_app_id end |
#pusher_key ⇒ Object
Returns the value of attribute pusher_key.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def pusher_key @pusher_key end |
#pusher_secret ⇒ Object
Returns the value of attribute pusher_secret.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def pusher_secret @pusher_secret end |
#use_pusher_by_default ⇒ Object
Returns the value of attribute use_pusher_by_default.
4 5 6 |
# File 'lib/notify_on/configuration.rb', line 4 def use_pusher_by_default @use_pusher_by_default end |