Class: ExceptionHandler::Config
- Inherits:
-
Object
- Object
- ExceptionHandler::Config
- Defined in:
- lib/exception_handler/config.rb
Instance Attribute Summary collapse
-
#db ⇒ Object
Returns the value of attribute db.
-
#error_layout ⇒ Object
Returns the value of attribute error_layout.
-
#exception_layout ⇒ Object
Returns the value of attribute exception_layout.
-
#social ⇒ Object
Returns the value of attribute social.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/exception_handler/config.rb', line 13 def initialize @db = false # -> db name (false = no; true = "errors"; [value] = [value]) @social = { twitter: "http://twitter.com/frontlineutils", facebook: "https://facebook.com/frontline.utilities", linkedin: "https://linkedin.com/company/frontline-utilities", youtube: "https://youtube.com/user/frontlineutils", fusion: "http://frontlinefusion.com/frontlineutils" } @error_layout = nil @exception_layout = nil end |
Instance Attribute Details
#db ⇒ Object
Returns the value of attribute db.
11 12 13 |
# File 'lib/exception_handler/config.rb', line 11 def db @db end |
#error_layout ⇒ Object
Returns the value of attribute error_layout.
11 12 13 |
# File 'lib/exception_handler/config.rb', line 11 def error_layout @error_layout end |
#exception_layout ⇒ Object
Returns the value of attribute exception_layout.
11 12 13 |
# File 'lib/exception_handler/config.rb', line 11 def exception_layout @exception_layout end |
#social ⇒ Object
Returns the value of attribute social.
11 12 13 |
# File 'lib/exception_handler/config.rb', line 11 def @social end |