strongmind-platform-sdk 3.26.8 → 3.26.9
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/platform_sdk/identity/clients.rb +11 -0
- data/lib/platform_sdk/version.rb +1 -1
- 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: 6eda5712735defbfe2be9106cb54045862303db53f26c0372a4b9fbd661617d8
|
4
|
+
data.tar.gz: ade026965cf2941f11d113b1528b65b99ed6e41e473089b927c94c1e9c6c9c91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf24d50ece3268b3adcf203ae77ec53c47517b2f33ca0e727932116aff40d586ad1f57140b526b2f46147f1bffc6b75c8a7590c40ac754a3492a1d33003167a5
|
7
|
+
data.tar.gz: 8f6ba3baa1401cee21086b76a64ec19e21c668276622d2a469adf8de86a3abae662ee3d0e17477d35f243b30e19fce7f57c7e4674cb20498acbbd7315e290ad9
|
@@ -53,6 +53,10 @@ module PlatformSdk
|
|
53
53
|
get_payload("/api/Accounts/?username=#{username}")
|
54
54
|
end
|
55
55
|
|
56
|
+
def update_profile(account_id, profile_params)
|
57
|
+
patch_payload("/api/accounts/#{account_id}/profile", profile_params)
|
58
|
+
end
|
59
|
+
|
56
60
|
def get_payload(path)
|
57
61
|
with_rescue do
|
58
62
|
response = @conn.get(path)
|
@@ -77,6 +81,13 @@ module PlatformSdk
|
|
77
81
|
end
|
78
82
|
end
|
79
83
|
|
84
|
+
def patch_payload(path, body)
|
85
|
+
with_rescue do
|
86
|
+
response = @conn.patch(path, body)
|
87
|
+
response.body
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
80
91
|
def deactivate_account(account_id)
|
81
92
|
with_rescue do
|
82
93
|
response = @conn.patch("/api/Accounts/#{account_id}", { isActive: false })
|
data/lib/platform_sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongmind-platform-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.26.
|
4
|
+
version: 3.26.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Platform Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|