Module: PDFService
- Defined in:
- lib/pdf_service.rb,
lib/pdf_service/error.rb,
lib/pdf_service/setup.rb,
lib/pdf_service/config.rb,
lib/pdf_service/service.rb,
lib/pdf_service/version.rb,
lib/pdf_service/web_app.rb,
lib/pdf_service/utils/null_logger.rb,
lib/pdf_service/phantom_js_renderer.rb,
lib/pdf_service/utils/tempfile_service.rb
Defined Under Namespace
Modules: Setup, Utils Classes: Config, PhantomJSRenderer, Service, WebApp
Constant Summary collapse
- ROOT_PATH =
Pathname(__FILE__).dirname
- DefaultConfiguration =
Config.new
- Error =
Class.new(StandardError)
- VERSION =
'0.0.3'.freeze
Class Method Summary collapse
Class Method Details
.render(html) ⇒ Object
23 24 25 |
# File 'lib/pdf_service.rb', line 23 def self.render(html) with_config(DefaultConfiguration).render(html) end |