Class: ExceptionHandler::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/exception_handler/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#dbObject

Returns the value of attribute db.



11
12
13
# File 'lib/exception_handler/config.rb', line 11

def db
  @db
end

#error_layoutObject

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_layoutObject

Returns the value of attribute exception_layout.



11
12
13
# File 'lib/exception_handler/config.rb', line 11

def exception_layout
  @exception_layout
end

#socialObject

Returns the value of attribute social.



11
12
13
# File 'lib/exception_handler/config.rb', line 11

def social
  @social
end