33
44#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6- The version of the OpenAPI document: 1.5 .0
6+ The version of the OpenAPI document: 1.6 .0
77
88Generated by: https://openapi-generator.tech
99Generator version: 7.19.0
@@ -92,8 +92,8 @@ def create_pdf_async_with_http_info(create_async_pdf_request, opts = {})
9292 # @param job_id [String]
9393 # @param [Hash] opts the optional parameters
9494 # @return [JobStatusResponse]
95- def get_pdf_job_status ( job_id , opts = { } )
96- data , _status_code , _headers = get_pdf_job_status_with_http_info ( job_id , opts )
95+ def get_pdf_job ( job_id , opts = { } )
96+ data , _status_code , _headers = get_pdf_job_with_http_info ( job_id , opts )
9797 data
9898 end
9999
@@ -102,16 +102,16 @@ def get_pdf_job_status(job_id, opts = {})
102102 # @param job_id [String]
103103 # @param [Hash] opts the optional parameters
104104 # @return [Array<(JobStatusResponse, Integer, Hash)>] JobStatusResponse data, response status code and response headers
105- def get_pdf_job_status_with_http_info ( job_id , opts = { } )
105+ def get_pdf_job_with_http_info ( job_id , opts = { } )
106106 if @api_client . config . debugging
107- @api_client . config . logger . debug 'Calling API: PDFAsyncApi.get_pdf_job_status ...'
107+ @api_client . config . logger . debug 'Calling API: PDFAsyncApi.get_pdf_job ...'
108108 end
109109 # verify the required parameter 'job_id' is set
110110 if @api_client . config . client_side_validation && job_id . nil?
111- fail ArgumentError , "Missing the required parameter 'job_id' when calling PDFAsyncApi.get_pdf_job_status "
111+ fail ArgumentError , "Missing the required parameter 'job_id' when calling PDFAsyncApi.get_pdf_job "
112112 end
113113 # resource path
114- local_var_path = '/v1/pdf/status /{job_id}' . sub ( '{' + 'job_id' + '}' , CGI . escape ( job_id . to_s ) )
114+ local_var_path = '/v1/pdf/jobs /{job_id}' . sub ( '{' + 'job_id' + '}' , CGI . escape ( job_id . to_s ) )
115115
116116 # query parameters
117117 query_params = opts [ :query_params ] || { }
@@ -134,7 +134,7 @@ def get_pdf_job_status_with_http_info(job_id, opts = {})
134134 auth_names = opts [ :debug_auth_names ] || [ 'ApiKeyAuth' ]
135135
136136 new_options = opts . merge (
137- :operation => :"PDFAsyncApi.get_pdf_job_status " ,
137+ :operation => :"PDFAsyncApi.get_pdf_job " ,
138138 :header_params => header_params ,
139139 :query_params => query_params ,
140140 :form_params => form_params ,
@@ -145,7 +145,7 @@ def get_pdf_job_status_with_http_info(job_id, opts = {})
145145
146146 data , status_code , headers = @api_client . call_api ( :GET , local_var_path , new_options )
147147 if @api_client . config . debugging
148- @api_client . config . logger . debug "API called: PDFAsyncApi#get_pdf_job_status \n Data: #{ data . inspect } \n Status code: #{ status_code } \n Headers: #{ headers } "
148+ @api_client . config . logger . debug "API called: PDFAsyncApi#get_pdf_job \n Data: #{ data . inspect } \n Status code: #{ status_code } \n Headers: #{ headers } "
149149 end
150150 return data , status_code , headers
151151 end
0 commit comments