Module: WatermarkToPdf

Defined in:
lib/watermark_to_pdf.rb,
lib/watermark_to_pdf/version.rb

Overview

WatermarkToPdf module adds watermarking functionality to PDF files.

Defined Under Namespace

Classes: Error, Watermark

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.add_watermark(file, options = {}) ⇒ Object



98
99
100
101
# File 'lib/watermark_to_pdf.rb', line 98

def self.add_watermark(file, options = {})
  watermark = Watermark.new(file, options)
  watermark.add_watermark
end