Class: Ilovepdf::Tool::Repair
- Inherits:
-
Ilovepdf::Task
- Object
- Ilovepdf
- Ilovepdf::Task
- Ilovepdf::Tool::Repair
- Defined in:
- lib/ilovepdf/tool/repair.rb
Constant Summary collapse
- API_PARAMS =
[]
Constants inherited from Ilovepdf::Task
Constants included from Ilovepdf
Instance Attribute Summary
Attributes inherited from Ilovepdf::Task
#ignore_errors, #ignore_password, #output_filename, #packaged_filename, #result, #task_id, #tool, #try_pdf_repair
Instance Method Summary collapse
-
#initialize(public_key, secret_key) ⇒ Repair
constructor
A new instance of Repair.
Methods inherited from Ilovepdf::Task
#add_file, #add_file_from_url, #assign_meta_value, #blob, #delete!, #delete_file, #download, #download_info, #enable_file_encryption, #execute, #files, #status
Methods included from Ilovepdf
Constructor Details
#initialize(public_key, secret_key) ⇒ Repair
Returns a new instance of Repair.
6 7 8 9 |
# File 'lib/ilovepdf/tool/repair.rb', line 6 def initialize(public_key, secret_key) self.tool = :repair super(public_key, secret_key) end |