pdfcrowd 6.5.0 → 6.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pdfcrowd.rb +55 -55
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edebcb08e7ec502dd76c0c93d3de3984b38ad92121852e514b8711a757b09ff2
|
4
|
+
data.tar.gz: 5b94cead39d307beb8fa7c0aabb87f99422173ee0bc52829757b3ce4954365e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21f15eabe797ee2aae4b1ef27cf8087a0890a517543278ad005c54d90b2e353fa393fbecd68ee2f3ce92878ed8595096f02bf736f139515ac4e73a46093f0d08
|
7
|
+
data.tar.gz: 1ba7e197683d240c1b513365ae4fabdca6272b45f42c65c77879b80890e25fbbd92722fa629ec56e7f3f9b660ee0ff613b77233cbd3ed67d0cdbdf4f01d30e3e
|
data/lib/pdfcrowd.rb
CHANGED
@@ -95,14 +95,14 @@ module Pdfcrowd
|
|
95
95
|
|
96
96
|
|
97
97
|
#
|
98
|
-
#
|
98
|
+
# PDFCrowd API client.
|
99
99
|
#
|
100
100
|
class Client
|
101
101
|
|
102
102
|
#
|
103
103
|
# Client constructor.
|
104
104
|
#
|
105
|
-
# username -- your username at
|
105
|
+
# username -- your username at PDFCrowd
|
106
106
|
# apikey -- your API key
|
107
107
|
#
|
108
108
|
def initialize(username, apikey, hostname=nil)
|
@@ -558,7 +558,7 @@ end
|
|
558
558
|
module Pdfcrowd
|
559
559
|
HOST = ENV["PDFCROWD_HOST"] || 'api.pdfcrowd.com'
|
560
560
|
MULTIPART_BOUNDARY = '----------ThIs_Is_tHe_bOUnDary_$'
|
561
|
-
CLIENT_VERSION = '6.5.
|
561
|
+
CLIENT_VERSION = '6.5.2'
|
562
562
|
|
563
563
|
class ConnectionHelper
|
564
564
|
def initialize(user_name, api_key)
|
@@ -569,7 +569,7 @@ module Pdfcrowd
|
|
569
569
|
|
570
570
|
setProxy(nil, nil, nil, nil)
|
571
571
|
setUseHttp(false)
|
572
|
-
setUserAgent('pdfcrowd_ruby_client/6.5.
|
572
|
+
setUserAgent('pdfcrowd_ruby_client/6.5.2 (https://pdfcrowd.com)')
|
573
573
|
|
574
574
|
@retry_count = 1
|
575
575
|
@converter_version = '24.04'
|
@@ -772,9 +772,9 @@ module Pdfcrowd
|
|
772
772
|
|
773
773
|
# Conversion from HTML to PDF.
|
774
774
|
class HtmlToPdfClient
|
775
|
-
# Constructor for the
|
775
|
+
# Constructor for the PDFCrowd API client.
|
776
776
|
#
|
777
|
-
# * +user_name+ - Your username at
|
777
|
+
# * +user_name+ - Your username at PDFCrowd.
|
778
778
|
# * +api_key+ - Your API key.
|
779
779
|
def initialize(user_name, api_key)
|
780
780
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -1563,7 +1563,7 @@ module Pdfcrowd
|
|
1563
1563
|
self
|
1564
1564
|
end
|
1565
1565
|
|
1566
|
-
# Set cookies
|
1566
|
+
# Set HTTP cookies to be included in all requests made by the converter.
|
1567
1567
|
#
|
1568
1568
|
# * +cookies+ - The cookie string.
|
1569
1569
|
# * *Returns* - The converter object.
|
@@ -1599,7 +1599,7 @@ module Pdfcrowd
|
|
1599
1599
|
self
|
1600
1600
|
end
|
1601
1601
|
|
1602
|
-
# Do not send the X-Pdfcrowd HTTP header in
|
1602
|
+
# Do not send the X-Pdfcrowd HTTP header in PDFCrowd HTTP requests.
|
1603
1603
|
#
|
1604
1604
|
# * +value+ - Set to true to disable sending X-Pdfcrowd HTTP header.
|
1605
1605
|
# * *Returns* - The converter object.
|
@@ -1660,7 +1660,7 @@ module Pdfcrowd
|
|
1660
1660
|
self
|
1661
1661
|
end
|
1662
1662
|
|
1663
|
-
# Set a custom HTTP header
|
1663
|
+
# Set a custom HTTP header to be included in all requests made by the converter.
|
1664
1664
|
#
|
1665
1665
|
# * +header+ - A string containing the header name and value separated by a colon.
|
1666
1666
|
# * *Returns* - The converter object.
|
@@ -1673,7 +1673,7 @@ module Pdfcrowd
|
|
1673
1673
|
self
|
1674
1674
|
end
|
1675
1675
|
|
1676
|
-
# Wait the specified number of milliseconds to finish all JavaScript after the document is loaded. Your
|
1676
|
+
# Wait the specified number of milliseconds to finish all JavaScript after the document is loaded. Your license defines the maximum wait time by "Max Delay" parameter.
|
1677
1677
|
#
|
1678
1678
|
# * +delay+ - The number of milliseconds to wait. Must be a positive integer or 0.
|
1679
1679
|
# * *Returns* - The converter object.
|
@@ -1712,7 +1712,7 @@ module Pdfcrowd
|
|
1712
1712
|
self
|
1713
1713
|
end
|
1714
1714
|
|
1715
|
-
# Wait for the specified element in a source document. The element is specified by one or more CSS selectors. The element is searched for in the main document and all iframes. If the element is not found, the conversion fails. Your
|
1715
|
+
# Wait for the specified element in a source document. The element is specified by one or more CSS selectors. The element is searched for in the main document and all iframes. If the element is not found, the conversion fails. Your license defines the maximum wait time by "Max Delay" parameter.
|
1716
1716
|
#
|
1717
1717
|
# * +selectors+ - One or more CSS selectors separated by commas. The string must not be empty.
|
1718
1718
|
# * *Returns* - The converter object.
|
@@ -2252,7 +2252,7 @@ module Pdfcrowd
|
|
2252
2252
|
self
|
2253
2253
|
end
|
2254
2254
|
|
2255
|
-
# A proxy server used by
|
2255
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
2256
2256
|
#
|
2257
2257
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
2258
2258
|
# * *Returns* - The converter object.
|
@@ -2265,7 +2265,7 @@ module Pdfcrowd
|
|
2265
2265
|
self
|
2266
2266
|
end
|
2267
2267
|
|
2268
|
-
# A proxy server used by
|
2268
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
2269
2269
|
#
|
2270
2270
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
2271
2271
|
# * *Returns* - The converter object.
|
@@ -2278,7 +2278,7 @@ module Pdfcrowd
|
|
2278
2278
|
self
|
2279
2279
|
end
|
2280
2280
|
|
2281
|
-
# A client certificate to authenticate
|
2281
|
+
# A client certificate to authenticate the converter on your web server. The certificate is used for two-way SSL/TLS authentication and adds extra security.
|
2282
2282
|
#
|
2283
2283
|
# * +certificate+ - The file must be in PKCS12 format. The file must exist and not be empty.
|
2284
2284
|
# * *Returns* - The converter object.
|
@@ -2498,7 +2498,7 @@ module Pdfcrowd
|
|
2498
2498
|
self
|
2499
2499
|
end
|
2500
2500
|
|
2501
|
-
#
|
2501
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
2502
2502
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
2503
2503
|
#
|
2504
2504
|
# * +value+ - Set to true to use HTTP.
|
@@ -2551,9 +2551,9 @@ module Pdfcrowd
|
|
2551
2551
|
|
2552
2552
|
# Conversion from HTML to image.
|
2553
2553
|
class HtmlToImageClient
|
2554
|
-
# Constructor for the
|
2554
|
+
# Constructor for the PDFCrowd API client.
|
2555
2555
|
#
|
2556
|
-
# * +user_name+ - Your username at
|
2556
|
+
# * +user_name+ - Your username at PDFCrowd.
|
2557
2557
|
# * +api_key+ - Your API key.
|
2558
2558
|
def initialize(user_name, api_key)
|
2559
2559
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -2933,7 +2933,7 @@ module Pdfcrowd
|
|
2933
2933
|
self
|
2934
2934
|
end
|
2935
2935
|
|
2936
|
-
# Set cookies
|
2936
|
+
# Set HTTP cookies to be included in all requests made by the converter.
|
2937
2937
|
#
|
2938
2938
|
# * +cookies+ - The cookie string.
|
2939
2939
|
# * *Returns* - The converter object.
|
@@ -2969,7 +2969,7 @@ module Pdfcrowd
|
|
2969
2969
|
self
|
2970
2970
|
end
|
2971
2971
|
|
2972
|
-
# Do not send the X-Pdfcrowd HTTP header in
|
2972
|
+
# Do not send the X-Pdfcrowd HTTP header in PDFCrowd HTTP requests.
|
2973
2973
|
#
|
2974
2974
|
# * +value+ - Set to true to disable sending X-Pdfcrowd HTTP header.
|
2975
2975
|
# * *Returns* - The converter object.
|
@@ -3017,7 +3017,7 @@ module Pdfcrowd
|
|
3017
3017
|
self
|
3018
3018
|
end
|
3019
3019
|
|
3020
|
-
# Set a custom HTTP header
|
3020
|
+
# Set a custom HTTP header to be included in all requests made by the converter.
|
3021
3021
|
#
|
3022
3022
|
# * +header+ - A string containing the header name and value separated by a colon.
|
3023
3023
|
# * *Returns* - The converter object.
|
@@ -3030,7 +3030,7 @@ module Pdfcrowd
|
|
3030
3030
|
self
|
3031
3031
|
end
|
3032
3032
|
|
3033
|
-
# Wait the specified number of milliseconds to finish all JavaScript after the document is loaded. Your
|
3033
|
+
# Wait the specified number of milliseconds to finish all JavaScript after the document is loaded. Your license defines the maximum wait time by "Max Delay" parameter.
|
3034
3034
|
#
|
3035
3035
|
# * +delay+ - The number of milliseconds to wait. Must be a positive integer or 0.
|
3036
3036
|
# * *Returns* - The converter object.
|
@@ -3069,7 +3069,7 @@ module Pdfcrowd
|
|
3069
3069
|
self
|
3070
3070
|
end
|
3071
3071
|
|
3072
|
-
# Wait for the specified element in a source document. The element is specified by one or more CSS selectors. The element is searched for in the main document and all iframes. If the element is not found, the conversion fails. Your
|
3072
|
+
# Wait for the specified element in a source document. The element is specified by one or more CSS selectors. The element is searched for in the main document and all iframes. If the element is not found, the conversion fails. Your license defines the maximum wait time by "Max Delay" parameter.
|
3073
3073
|
#
|
3074
3074
|
# * +selectors+ - One or more CSS selectors separated by commas. The string must not be empty.
|
3075
3075
|
# * *Returns* - The converter object.
|
@@ -3237,7 +3237,7 @@ module Pdfcrowd
|
|
3237
3237
|
self
|
3238
3238
|
end
|
3239
3239
|
|
3240
|
-
# A proxy server used by
|
3240
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
3241
3241
|
#
|
3242
3242
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
3243
3243
|
# * *Returns* - The converter object.
|
@@ -3250,7 +3250,7 @@ module Pdfcrowd
|
|
3250
3250
|
self
|
3251
3251
|
end
|
3252
3252
|
|
3253
|
-
# A proxy server used by
|
3253
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
3254
3254
|
#
|
3255
3255
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
3256
3256
|
# * *Returns* - The converter object.
|
@@ -3263,7 +3263,7 @@ module Pdfcrowd
|
|
3263
3263
|
self
|
3264
3264
|
end
|
3265
3265
|
|
3266
|
-
# A client certificate to authenticate
|
3266
|
+
# A client certificate to authenticate the converter on your web server. The certificate is used for two-way SSL/TLS authentication and adds extra security.
|
3267
3267
|
#
|
3268
3268
|
# * +certificate+ - The file must be in PKCS12 format. The file must exist and not be empty.
|
3269
3269
|
# * *Returns* - The converter object.
|
@@ -3326,7 +3326,7 @@ module Pdfcrowd
|
|
3326
3326
|
self
|
3327
3327
|
end
|
3328
3328
|
|
3329
|
-
#
|
3329
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
3330
3330
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
3331
3331
|
#
|
3332
3332
|
# * +value+ - Set to true to use HTTP.
|
@@ -3379,9 +3379,9 @@ module Pdfcrowd
|
|
3379
3379
|
|
3380
3380
|
# Conversion from one image format to another image format.
|
3381
3381
|
class ImageToImageClient
|
3382
|
-
# Constructor for the
|
3382
|
+
# Constructor for the PDFCrowd API client.
|
3383
3383
|
#
|
3384
|
-
# * +user_name+ - Your username at
|
3384
|
+
# * +user_name+ - Your username at PDFCrowd.
|
3385
3385
|
# * +api_key+ - Your API key.
|
3386
3386
|
def initialize(user_name, api_key)
|
3387
3387
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -3904,7 +3904,7 @@ module Pdfcrowd
|
|
3904
3904
|
self
|
3905
3905
|
end
|
3906
3906
|
|
3907
|
-
# A proxy server used by
|
3907
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
3908
3908
|
#
|
3909
3909
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
3910
3910
|
# * *Returns* - The converter object.
|
@@ -3917,7 +3917,7 @@ module Pdfcrowd
|
|
3917
3917
|
self
|
3918
3918
|
end
|
3919
3919
|
|
3920
|
-
# A proxy server used by
|
3920
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
3921
3921
|
#
|
3922
3922
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
3923
3923
|
# * *Returns* - The converter object.
|
@@ -3943,7 +3943,7 @@ module Pdfcrowd
|
|
3943
3943
|
self
|
3944
3944
|
end
|
3945
3945
|
|
3946
|
-
#
|
3946
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
3947
3947
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
3948
3948
|
#
|
3949
3949
|
# * +value+ - Set to true to use HTTP.
|
@@ -3996,9 +3996,9 @@ module Pdfcrowd
|
|
3996
3996
|
|
3997
3997
|
# Conversion from PDF to PDF.
|
3998
3998
|
class PdfToPdfClient
|
3999
|
-
# Constructor for the
|
3999
|
+
# Constructor for the PDFCrowd API client.
|
4000
4000
|
#
|
4001
|
-
# * +user_name+ - Your username at
|
4001
|
+
# * +user_name+ - Your username at PDFCrowd.
|
4002
4002
|
# * +api_key+ - Your API key.
|
4003
4003
|
def initialize(user_name, api_key)
|
4004
4004
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -4064,7 +4064,7 @@ module Pdfcrowd
|
|
4064
4064
|
self
|
4065
4065
|
end
|
4066
4066
|
|
4067
|
-
# Add in-memory raw PDF data to the list of the input PDFs.Typical usage is for adding PDF created by another
|
4067
|
+
# Add in-memory raw PDF data to the list of the input PDFs.Typical usage is for adding PDF created by another PDFCrowd converter. Example in PHP: $clientPdf2Pdf->addPdfRawData($clientHtml2Pdf->convertUrl('http://www.example.com'));
|
4068
4068
|
#
|
4069
4069
|
# * +data+ - The raw PDF data. The input data must be PDF content.
|
4070
4070
|
# * *Returns* - The converter object.
|
@@ -4520,7 +4520,7 @@ module Pdfcrowd
|
|
4520
4520
|
self
|
4521
4521
|
end
|
4522
4522
|
|
4523
|
-
#
|
4523
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
4524
4524
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
4525
4525
|
#
|
4526
4526
|
# * +value+ - Set to true to use HTTP.
|
@@ -4573,9 +4573,9 @@ module Pdfcrowd
|
|
4573
4573
|
|
4574
4574
|
# Conversion from an image to PDF.
|
4575
4575
|
class ImageToPdfClient
|
4576
|
-
# Constructor for the
|
4576
|
+
# Constructor for the PDFCrowd API client.
|
4577
4577
|
#
|
4578
|
-
# * +user_name+ - Your username at
|
4578
|
+
# * +user_name+ - Your username at PDFCrowd.
|
4579
4579
|
# * +api_key+ - Your API key.
|
4580
4580
|
def initialize(user_name, api_key)
|
4581
4581
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -5407,7 +5407,7 @@ module Pdfcrowd
|
|
5407
5407
|
self
|
5408
5408
|
end
|
5409
5409
|
|
5410
|
-
# A proxy server used by
|
5410
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
5411
5411
|
#
|
5412
5412
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
5413
5413
|
# * *Returns* - The converter object.
|
@@ -5420,7 +5420,7 @@ module Pdfcrowd
|
|
5420
5420
|
self
|
5421
5421
|
end
|
5422
5422
|
|
5423
|
-
# A proxy server used by
|
5423
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
5424
5424
|
#
|
5425
5425
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
5426
5426
|
# * *Returns* - The converter object.
|
@@ -5446,7 +5446,7 @@ module Pdfcrowd
|
|
5446
5446
|
self
|
5447
5447
|
end
|
5448
5448
|
|
5449
|
-
#
|
5449
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
5450
5450
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
5451
5451
|
#
|
5452
5452
|
# * +value+ - Set to true to use HTTP.
|
@@ -5499,9 +5499,9 @@ module Pdfcrowd
|
|
5499
5499
|
|
5500
5500
|
# Conversion from PDF to HTML.
|
5501
5501
|
class PdfToHtmlClient
|
5502
|
-
# Constructor for the
|
5502
|
+
# Constructor for the PDFCrowd API client.
|
5503
5503
|
#
|
5504
|
-
# * +user_name+ - Your username at
|
5504
|
+
# * +user_name+ - Your username at PDFCrowd.
|
5505
5505
|
# * +api_key+ - Your API key.
|
5506
5506
|
def initialize(user_name, api_key)
|
5507
5507
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -5956,7 +5956,7 @@ module Pdfcrowd
|
|
5956
5956
|
self
|
5957
5957
|
end
|
5958
5958
|
|
5959
|
-
# A proxy server used by
|
5959
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
5960
5960
|
#
|
5961
5961
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
5962
5962
|
# * *Returns* - The converter object.
|
@@ -5969,7 +5969,7 @@ module Pdfcrowd
|
|
5969
5969
|
self
|
5970
5970
|
end
|
5971
5971
|
|
5972
|
-
# A proxy server used by
|
5972
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
5973
5973
|
#
|
5974
5974
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
5975
5975
|
# * *Returns* - The converter object.
|
@@ -5995,7 +5995,7 @@ module Pdfcrowd
|
|
5995
5995
|
self
|
5996
5996
|
end
|
5997
5997
|
|
5998
|
-
#
|
5998
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
5999
5999
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
6000
6000
|
#
|
6001
6001
|
# * +value+ - Set to true to use HTTP.
|
@@ -6054,9 +6054,9 @@ module Pdfcrowd
|
|
6054
6054
|
|
6055
6055
|
# Conversion from PDF to text.
|
6056
6056
|
class PdfToTextClient
|
6057
|
-
# Constructor for the
|
6057
|
+
# Constructor for the PDFCrowd API client.
|
6058
6058
|
#
|
6059
|
-
# * +user_name+ - Your username at
|
6059
|
+
# * +user_name+ - Your username at PDFCrowd.
|
6060
6060
|
# * +api_key+ - Your API key.
|
6061
6061
|
def initialize(user_name, api_key)
|
6062
6062
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -6477,7 +6477,7 @@ module Pdfcrowd
|
|
6477
6477
|
self
|
6478
6478
|
end
|
6479
6479
|
|
6480
|
-
# A proxy server used by
|
6480
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
6481
6481
|
#
|
6482
6482
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
6483
6483
|
# * *Returns* - The converter object.
|
@@ -6490,7 +6490,7 @@ module Pdfcrowd
|
|
6490
6490
|
self
|
6491
6491
|
end
|
6492
6492
|
|
6493
|
-
# A proxy server used by
|
6493
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
6494
6494
|
#
|
6495
6495
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
6496
6496
|
# * *Returns* - The converter object.
|
@@ -6503,7 +6503,7 @@ module Pdfcrowd
|
|
6503
6503
|
self
|
6504
6504
|
end
|
6505
6505
|
|
6506
|
-
#
|
6506
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
6507
6507
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
6508
6508
|
#
|
6509
6509
|
# * +value+ - Set to true to use HTTP.
|
@@ -6556,9 +6556,9 @@ module Pdfcrowd
|
|
6556
6556
|
|
6557
6557
|
# Conversion from PDF to image.
|
6558
6558
|
class PdfToImageClient
|
6559
|
-
# Constructor for the
|
6559
|
+
# Constructor for the PDFCrowd API client.
|
6560
6560
|
#
|
6561
|
-
# * +user_name+ - Your username at
|
6561
|
+
# * +user_name+ - Your username at PDFCrowd.
|
6562
6562
|
# * +api_key+ - Your API key.
|
6563
6563
|
def initialize(user_name, api_key)
|
6564
6564
|
@helper = ConnectionHelper.new(user_name, api_key)
|
@@ -6946,7 +6946,7 @@ module Pdfcrowd
|
|
6946
6946
|
self
|
6947
6947
|
end
|
6948
6948
|
|
6949
|
-
# A proxy server used by
|
6949
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
6950
6950
|
#
|
6951
6951
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
6952
6952
|
# * *Returns* - The converter object.
|
@@ -6959,7 +6959,7 @@ module Pdfcrowd
|
|
6959
6959
|
self
|
6960
6960
|
end
|
6961
6961
|
|
6962
|
-
# A proxy server used by
|
6962
|
+
# A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
|
6963
6963
|
#
|
6964
6964
|
# * +proxy+ - The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
|
6965
6965
|
# * *Returns* - The converter object.
|
@@ -6972,7 +6972,7 @@ module Pdfcrowd
|
|
6972
6972
|
self
|
6973
6973
|
end
|
6974
6974
|
|
6975
|
-
#
|
6975
|
+
# Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.
|
6976
6976
|
# Warning: Using HTTP is insecure as data sent over HTTP is not encrypted. Enable this option only if you know what you are doing.
|
6977
6977
|
#
|
6978
6978
|
# * +value+ - Set to true to use HTTP.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdfcrowd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.5.
|
4
|
+
version: 6.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pdfcrowd Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: The Pdfcrowd API lets you easily convert between HTML, PDF and various
|
14
14
|
image formats.
|