Class: Ilovepdf::Tool::Unlock
- Inherits:
-
Ilovepdf::Task
- Object
- Ilovepdf
- Ilovepdf::Task
- Ilovepdf::Tool::Unlock
- Defined in:
- lib/ilovepdf/tool/unlock.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) ⇒ Unlock
constructor
A new instance of Unlock.
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) ⇒ Unlock
Returns a new instance of Unlock.
6 7 8 9 |
# File 'lib/ilovepdf/tool/unlock.rb', line 6 def initialize(public_key, secret_key) self.tool = :unlock super(public_key, secret_key) end |