Created
October 7, 2015 18:24
-
-
Save jcoyne/ba0abc18c94e290c6e76 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hydra::Derivatives::PdfDerivatives.create(filename, | |
outputs: [{ label: :thumbnail, format: 'jpg', size: '338x493', url: derivative_url('thumbnail') }]) | |
Hydra::Derivatives::FullTextExtract.create(filename, | |
outputs: [{ format: 'txt', url: derivative_url('fulltext') }]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment