module PDFService
Constants
- DefaultConfiguration
- Error
- ROOT_PATH
- VERSION
Public Class Methods
render(html)
click to toggle source
# File lib/pdf_service.rb, line 23 def self.render(html) with_config(DefaultConfiguration).render(html) end
with_config(config)
click to toggle source
# File lib/pdf_service.rb, line 19 def self.with_config(config) Service.new(Config[config]) end