Class: ErrorNotifier::Configuration
- Inherits:
-
Object
- Object
- ErrorNotifier::Configuration
- Defined in:
- lib/error_notifier/configuration.rb
Instance Attribute Summary collapse
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#site ⇒ Object
Returns the value of attribute site.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 |
# File 'lib/error_notifier/configuration.rb', line 4 def initialize @timeout = 5 @open_timeout = 5 end |
Instance Attribute Details
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
3 4 5 |
# File 'lib/error_notifier/configuration.rb', line 3 def open_timeout @open_timeout end |
#site ⇒ Object
Returns the value of attribute site.
3 4 5 |
# File 'lib/error_notifier/configuration.rb', line 3 def site @site end |
#timeout ⇒ Object
Returns the value of attribute timeout.
3 4 5 |
# File 'lib/error_notifier/configuration.rb', line 3 def timeout @timeout end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/error_notifier/configuration.rb', line 3 def url @url end |