Sha256: dbe294cb45e891f43866755ca59dc2d9c23354273c4680687c98bc5a0cdff2cd

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 Bytes

Contents

require File.join(File.dirname(__FILE__), "example_helper")

Prawn::Document.generate("hello_foo.pdf") do
  text "Hello, world!"
  encrypt_document :user_password => 'foo', :owner_password => 'bar',
    :permissions => { :print_document => false }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prawn-security-0.8.4 examples/hello_foo.rb
prawn-security-0.7.1 examples/hello_foo.rb
prawn-security-0.1.1 examples/hello_foo.rb