Class: Thingfish::Processor::PDF
- Inherits:
-
Thingfish::Processor
- Object
- Thingfish::Processor
- Thingfish::Processor::PDF
- Extended by:
- Loggability
- Defined in:
- lib/thingfish/processor/pdf.rb
Overview
Attach PDF metadata to the Adobe Portable Document Format.
Constant Summary collapse
- VERSION =
Package version
'0.1.0'- REVISION =
Version control revision
%q$Revision: 266fe36d11dd $
Instance Method Summary collapse
-
#on_request(request) ⇒ Object
Synchronous processor API – extract metadata from uploaded PDFs.
Instance Method Details
#on_request(request) ⇒ Object
Synchronous processor API – extract metadata from uploaded PDFs
31 32 33 34 35 36 |
# File 'lib/thingfish/processor/pdf.rb', line 31 def on_request( request ) reader = ::PDF::Reader.new( request.body ) = self.( reader ) request.( ) end |