Class: Gotenberg::Configuration
- Inherits:
-
Object
- Object
- Gotenberg::Configuration
- Defined in:
- lib/gotenberg/configuration.rb
Instance Attribute Summary collapse
-
#backtrace_dir ⇒ Object
Returns the value of attribute backtrace_dir.
-
#html_debug ⇒ Object
Returns the value of attribute html_debug.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 13 |
# File 'lib/gotenberg/configuration.rb', line 5 def initialize @backtrace_dir = if defined?(Rails) Rails.root.join('tmp', 'gotenberg') else Dir.mktmpdir end @html_debug = false end |
Instance Attribute Details
#backtrace_dir ⇒ Object
Returns the value of attribute backtrace_dir.
3 4 5 |
# File 'lib/gotenberg/configuration.rb', line 3 def backtrace_dir @backtrace_dir end |
#html_debug ⇒ Object
Returns the value of attribute html_debug.
3 4 5 |
# File 'lib/gotenberg/configuration.rb', line 3 def html_debug @html_debug end |