factpulse 2.0.0 → 2.0.3
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/CHANGELOG.md +3 -3
- data/Gemfile.lock +1 -1
- data/docs/PDPCredentials.md +2 -0
- data/lib/factpulse/models/pdp_credentials.rb +11 -1
- data/lib/factpulse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87b8491d4c5921a7b59bef1a12a19a6c105b0038868d3d6288cea66a964b7be3
|
|
4
|
+
data.tar.gz: 6b96757b8ea633b3ed0e16060d3eef14e7404a407e789b6d16e1e9269362c13f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 587f0385044056681afdc2e0cfb4281dff521f6818a0eac57c70727a4ace377f49550371f96e9d7d9bffdf33829712840ce6aeb35b4795f95e891dbc850a0055
|
|
7
|
+
data.tar.gz: 7afa4a66f14591c03d699266fa573d5fc31cacabeebf9a3cd7c58198eb1cd1b8017132984a07dd663723729c642c1e9898d6e74c3f4d0a53f708000003b1736a
|
data/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,7 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [2.0.
|
|
10
|
+
## [2.0.3] - 2025-11-18
|
|
11
11
|
|
|
12
12
|
### Added
|
|
13
13
|
- Version initiale du SDK ruby
|
|
@@ -24,5 +24,5 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
24
24
|
- Guide d'authentification JWT
|
|
25
25
|
- Configuration avancée (timeout, proxy, debug)
|
|
26
26
|
|
|
27
|
-
[Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v2.0.
|
|
28
|
-
[2.0.
|
|
27
|
+
[Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v2.0.3...HEAD
|
|
28
|
+
[2.0.3]: https://github.com/factpulse/sdk-ruby/releases/tag/v2.0.3
|
data/Gemfile.lock
CHANGED
data/docs/PDPCredentials.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **flow_service_url** | **String** | URL de base du Flow Service AFNOR | |
|
|
8
|
+
| **directory_service_url** | **String** | | [optional] |
|
|
8
9
|
| **token_url** | **String** | URL du serveur OAuth2 | |
|
|
9
10
|
| **client_id** | **String** | Client ID OAuth2 | |
|
|
10
11
|
| **client_secret** | **String** | Client Secret OAuth2 (sensible) | |
|
|
@@ -16,6 +17,7 @@ require 'factpulse'
|
|
|
16
17
|
|
|
17
18
|
instance = FactPulse::PDPCredentials.new(
|
|
18
19
|
flow_service_url: https://api.pdp-example.fr/flow/v1,
|
|
20
|
+
directory_service_url: null,
|
|
19
21
|
token_url: https://auth.pdp-example.fr/oauth/token,
|
|
20
22
|
client_id: factpulse_prod_abc123,
|
|
21
23
|
client_secret: secret_xyz789
|
|
@@ -19,6 +19,8 @@ module FactPulse
|
|
|
19
19
|
# URL de base du Flow Service AFNOR
|
|
20
20
|
attr_accessor :flow_service_url
|
|
21
21
|
|
|
22
|
+
attr_accessor :directory_service_url
|
|
23
|
+
|
|
22
24
|
# URL du serveur OAuth2
|
|
23
25
|
attr_accessor :token_url
|
|
24
26
|
|
|
@@ -32,6 +34,7 @@ module FactPulse
|
|
|
32
34
|
def self.attribute_map
|
|
33
35
|
{
|
|
34
36
|
:'flow_service_url' => :'flow_service_url',
|
|
37
|
+
:'directory_service_url' => :'directory_service_url',
|
|
35
38
|
:'token_url' => :'token_url',
|
|
36
39
|
:'client_id' => :'client_id',
|
|
37
40
|
:'client_secret' => :'client_secret'
|
|
@@ -52,6 +55,7 @@ module FactPulse
|
|
|
52
55
|
def self.openapi_types
|
|
53
56
|
{
|
|
54
57
|
:'flow_service_url' => :'String',
|
|
58
|
+
:'directory_service_url' => :'String',
|
|
55
59
|
:'token_url' => :'String',
|
|
56
60
|
:'client_id' => :'String',
|
|
57
61
|
:'client_secret' => :'String'
|
|
@@ -61,6 +65,7 @@ module FactPulse
|
|
|
61
65
|
# List of attributes with nullable: true
|
|
62
66
|
def self.openapi_nullable
|
|
63
67
|
Set.new([
|
|
68
|
+
:'directory_service_url',
|
|
64
69
|
])
|
|
65
70
|
end
|
|
66
71
|
|
|
@@ -86,6 +91,10 @@ module FactPulse
|
|
|
86
91
|
self.flow_service_url = nil
|
|
87
92
|
end
|
|
88
93
|
|
|
94
|
+
if attributes.key?(:'directory_service_url')
|
|
95
|
+
self.directory_service_url = attributes[:'directory_service_url']
|
|
96
|
+
end
|
|
97
|
+
|
|
89
98
|
if attributes.key?(:'token_url')
|
|
90
99
|
self.token_url = attributes[:'token_url']
|
|
91
100
|
else
|
|
@@ -186,6 +195,7 @@ module FactPulse
|
|
|
186
195
|
return true if self.equal?(o)
|
|
187
196
|
self.class == o.class &&
|
|
188
197
|
flow_service_url == o.flow_service_url &&
|
|
198
|
+
directory_service_url == o.directory_service_url &&
|
|
189
199
|
token_url == o.token_url &&
|
|
190
200
|
client_id == o.client_id &&
|
|
191
201
|
client_secret == o.client_secret
|
|
@@ -200,7 +210,7 @@ module FactPulse
|
|
|
200
210
|
# Calculates hash code according to all attributes.
|
|
201
211
|
# @return [Integer] Hash code
|
|
202
212
|
def hash
|
|
203
|
-
[flow_service_url, token_url, client_id, client_secret].hash
|
|
213
|
+
[flow_service_url, directory_service_url, token_url, client_id, client_secret].hash
|
|
204
214
|
end
|
|
205
215
|
|
|
206
216
|
# Builds the object from hash
|
data/lib/factpulse/version.rb
CHANGED