Module: PuppetPdf

Defined in:
lib/puppet_pdf.rb,
lib/puppet_pdf/railtie.rb,
lib/puppet_pdf/version.rb,
lib/puppet_pdf/pdf_creator.rb

Defined Under Namespace

Classes: PdfCreator, Railtie

Constant Summary collapse

VERSION =
'0.1.2'.freeze

Class Method Summary collapse

Class Method Details

.pdf_from_html(html, options = {}) ⇒ Object



10
11
12
# File 'lib/puppet_pdf.rb', line 10

def self.pdf_from_html(html, options = {})
  pdf_creator(:pdf_from_html, html, options).call
end

.pdf_from_url(url, options = {}) ⇒ Object



6
7
8
# File 'lib/puppet_pdf.rb', line 6

def self.pdf_from_url(url, options = {})
  pdf_creator(:pdf_from_url, url, options).call
end