Class: RailsErrorNotifier::Configuration
- Inherits:
-
Object
- Object
- RailsErrorNotifier::Configuration
- Defined in:
- lib/rails_error_notifier/configuration.rb
Instance Attribute Summary collapse
-
#discord_webhook ⇒ Object
Returns the value of attribute discord_webhook.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#error_email_from ⇒ Object
Returns the value of attribute error_email_from.
-
#error_email_to ⇒ Object
Returns the value of attribute error_email_to.
-
#slack_webhook ⇒ Object
Returns the value of attribute slack_webhook.
-
#twilio_from ⇒ Object
Returns the value of attribute twilio_from.
-
#twilio_sid ⇒ Object
Returns the value of attribute twilio_sid.
-
#twilio_to ⇒ Object
Returns the value of attribute twilio_to.
-
#twilio_token ⇒ Object
Returns the value of attribute twilio_token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 |
# File 'lib/rails_error_notifier/configuration.rb', line 13 def initialize @enabled = true end |
Instance Attribute Details
#discord_webhook ⇒ Object
Returns the value of attribute discord_webhook.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def discord_webhook @discord_webhook end |
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def enabled @enabled end |
#error_email_from ⇒ Object
Returns the value of attribute error_email_from.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def error_email_from @error_email_from end |
#error_email_to ⇒ Object
Returns the value of attribute error_email_to.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def error_email_to @error_email_to end |
#slack_webhook ⇒ Object
Returns the value of attribute slack_webhook.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def slack_webhook @slack_webhook end |
#twilio_from ⇒ Object
Returns the value of attribute twilio_from.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def twilio_from @twilio_from end |
#twilio_sid ⇒ Object
Returns the value of attribute twilio_sid.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def twilio_sid @twilio_sid end |
#twilio_to ⇒ Object
Returns the value of attribute twilio_to.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def twilio_to @twilio_to end |
#twilio_token ⇒ Object
Returns the value of attribute twilio_token.
3 4 5 |
# File 'lib/rails_error_notifier/configuration.rb', line 3 def twilio_token @twilio_token end |