Class: PdfServices::InternalExternalOperation::Operation
- Inherits:
-
Base::Operation
- Object
- Base::Operation
- PdfServices::InternalExternalOperation::Operation
- Defined in:
- lib/pdfservices/operations/internal_external_operation.rb
Direct Known Subclasses
DocumentGeneration::Operation, HtmlToPdf::Operation, Ocr::Operation
Constant Summary
Constants inherited from Base::Operation
Base::Operation::ASSETS_ENDPOINT, Base::Operation::BASE_ENDPOINT, Base::Operation::STATUS
Instance Method Summary collapse
Methods inherited from Base::Operation
#handle_response, #initialize, #poll_document_result, #upload_asset
Constructor Details
This class inherits a constructor from PdfServices::Base::Operation
Instance Method Details
#execute(source_file_path, options = {}, &block) ⇒ Object
4 5 6 7 |
# File 'lib/pdfservices/operations/internal_external_operation.rb', line 4 def execute(source_file_path, = {}, &block) operation_class = switch_on_type() operation_class.new(@api).execute(source_file_path, , &block) end |