Class: PdfServices::HtmlToPdf::Operation
- Inherits:
-
InternalExternalOperation::Operation
- Object
- Base::Operation
- InternalExternalOperation::Operation
- PdfServices::HtmlToPdf::Operation
- Defined in:
- lib/pdfservices/operations/html_to_pdf.rb
Constant Summary collapse
- OPERATION_ENDPOINT =
"#{BASE_ENDPOINT}htmltopdf".freeze
Constants inherited from Base::Operation
Base::Operation::ASSETS_ENDPOINT, Base::Operation::BASE_ENDPOINT, Base::Operation::STATUS
Instance Method Summary collapse
Methods inherited from InternalExternalOperation::Operation
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
#external_class ⇒ Object
16 17 18 |
# File 'lib/pdfservices/operations/html_to_pdf.rb', line 16 def external_class External end |
#internal_class ⇒ Object
12 13 14 |
# File 'lib/pdfservices/operations/html_to_pdf.rb', line 12 def internal_class Internal end |
#request_headers ⇒ Object
8 9 10 |
# File 'lib/pdfservices/operations/html_to_pdf.rb', line 8 def request_headers { 'Content-Type' => 'application/json' } end |