Sha256: d6466f0952b9cec6b0d0e357adf444dec752ffa2cd384592acb3a4e972548b27

Contents?: true

Size: 268 Bytes

Versions: 10

Compression:

Stored size: 268 Bytes

Contents

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

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

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
piglop-prawn-0.10.2.3 examples/security/hello_foo.rb
piglop-prawn-0.10.2.2 examples/security/hello_foo.rb
piglop-prawn-0.10.2.1 examples/security/hello_foo.rb
prawn-0.11.1.pre examples/security/hello_foo.rb
goodwill-prawn-edge-0.10.0 examples/security/hello_foo.rb
alphasights-prawn-0.10.4 examples/security/hello_foo.rb
alphasights-prawn-0.10.3 examples/security/hello_foo.rb
alphasights-prawn-0.10.2 examples/security/hello_foo.rb
alphasights-prawn-0.10.1 examples/security/hello_foo.rb
alphasights-prawn-0.10.0 examples/security/hello_foo.rb