aspose_pdf_cloud 25.9.0 → 25.11.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d139ed1c50a269730b817cfdb347651725571bf73756952d686c66d94d71451
|
|
4
|
+
data.tar.gz: 908d9faa44b62880b270b40413ac40b89050bec6383b479f78073f97c763ed09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 327fbedb042c7c79539907108518e9e19eb84e148ce79fc8b7bd88a25c1109963b6b5e3a9b374fec78c1e34221b1208cf2f87468d78a7e86546985d85f282f61
|
|
7
|
+
data.tar.gz: 3f63f2d341aed068774db64566438d1c361af6476a45f3a614bdcde22275ff74f0c19388e2543fcf04e9ad4c841b9498f1c28a58994652d65c8b3294d5f02b03
|
|
@@ -25,11 +25,11 @@ module AsposePdfCloud
|
|
|
25
25
|
class PdfApi
|
|
26
26
|
attr_accessor :api_client
|
|
27
27
|
|
|
28
|
-
def initialize(
|
|
28
|
+
def initialize(client_secret, client_id, host = "", self_host = false, api_client = ApiClient.default)
|
|
29
29
|
@api_client = api_client
|
|
30
30
|
@api_client.config.self_host = self_host
|
|
31
|
-
@api_client.config.
|
|
32
|
-
@api_client.config.
|
|
31
|
+
@api_client.config.client_secret = client_secret
|
|
32
|
+
@api_client.config.client_id = client_id
|
|
33
33
|
if host != ""
|
|
34
34
|
if @api_client.config.self_host
|
|
35
35
|
@api_client.config.self_host_url = host
|
|
@@ -439,8 +439,8 @@ module AsposePdfCloud
|
|
|
439
439
|
# form parameters
|
|
440
440
|
form_params = {}
|
|
441
441
|
form_params["grant_type"] = 'client_credentials'
|
|
442
|
-
form_params["client_id"] = @config.
|
|
443
|
-
form_params["client_secret"] = @config.
|
|
442
|
+
form_params["client_id"] = @config.client_id
|
|
443
|
+
form_params["client_secret"] = @config.client_secret
|
|
444
444
|
|
|
445
445
|
body = {}
|
|
446
446
|
|
|
@@ -31,10 +31,10 @@ module AsposePdfCloud
|
|
|
31
31
|
attr_accessor :self_host_url
|
|
32
32
|
|
|
33
33
|
# App Key
|
|
34
|
-
attr_accessor :
|
|
34
|
+
attr_accessor :client_secret
|
|
35
35
|
|
|
36
36
|
# App SID
|
|
37
|
-
attr_accessor :
|
|
37
|
+
attr_accessor :client_id
|
|
38
38
|
|
|
39
39
|
# Defines url scheme
|
|
40
40
|
attr_accessor :scheme
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aspose_pdf_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 25.
|
|
4
|
+
version: 25.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aspose PDF Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|