class PDFService::Config
Attributes
logger[R]
tmp_path[R]
Public Class Methods
[](value)
click to toggle source
# File lib/pdf_service/config.rb, line 11 def [](value) return value if value.kind_of?(self) new(value.to_h) end
new(logger: Logger.new(STDOUT), tmp_path: '.')
click to toggle source
# File lib/pdf_service/config.rb, line 3 def initialize(logger: Logger.new(STDOUT), tmp_path: '.') @logger = logger @tmp_path = tmp_path end