strongmind-platform-sdk 3.26.0 → 3.26.1

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: 10e1d9bf0e0f8f2485f4a924e604e40dd0172a95c4ef093d049ca1ea07af7c4e
4
- data.tar.gz: 9bf269afd5d8f0ebab8d456bd99207784e74cd6bc6d7816562c790646ce0a2b5
3
+ metadata.gz: 904e2317257e40d33b87128a2dc52727f0e3deecf97ea1e3fd4a394b8bd2acfc
4
+ data.tar.gz: f1f7d1bdb6e5f5a2159f23aefde1c64f3548bd2a9948990ce9849d1a07c73558
5
5
  SHA512:
6
- metadata.gz: 3af4a0ab8f12fde7e49f8d5fb59a661da2de5d02e08394632a14f6af5a70b5c182d21d552acdd1a4aeab620f4033c54b66347beee630ecc6f4ff03867ea1e14b
7
- data.tar.gz: e730ffda9d43615af99d581d2092b822c6b6b935ea8c678fdcf3d55d31ae18fa8f06367ed29e72565d6d5bd885f8c91d7033e440ec82ab80f961c82694c8594b
6
+ metadata.gz: b0d15c0c42bed2199d26099462d71e2bc058afefd03b7f7e922c51773b8e774539f4419d400d72912bf2e598aa151de2ef2d763a482ef16e04d915afa7afff72
7
+ data.tar.gz: 7f4c54fff042a92776a42c76e057e0308d2bc3ba1902fcbca12f2ae8f67bffa834e4837a05b82090f8aed1066ca3f94b7d9179c340a905df8acd7cd54a3034fe
data/Gemfile.lock CHANGED
@@ -203,7 +203,7 @@ GEM
203
203
  mutex_m (0.2.0)
204
204
  net-http (0.4.1)
205
205
  uri
206
- net-imap (0.5.5)
206
+ net-imap (0.5.6)
207
207
  date
208
208
  net-protocol
209
209
  net-pop (0.1.2)
@@ -10,11 +10,17 @@ module PlatformSdk
10
10
  @conn = Faraday.new(identity_base_url) do |conn|
11
11
  conn.request :authorization, 'Bearer', -> { @auth.auth_token }
12
12
  conn.request :retry
13
+ conn.request :json
13
14
  conn.response :json
14
15
  conn.adapter :net_http
15
16
  end
16
17
  end
17
18
 
19
+ def provision_identity(user_params)
20
+ response = @conn.post('/api/accounts/WithProfile', user_params)
21
+ response.body
22
+ end
23
+
18
24
  def with_rescue
19
25
  yield
20
26
  rescue ResourceNotFound => e
@@ -3,7 +3,7 @@
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
5
  MINOR = 26
6
- PATCH = 0
6
+ PATCH = 1
7
7
 
8
8
  VERSION = "#{PlatformSdk::MAJOR}.#{PlatformSdk::MINOR}.#{PlatformSdk::PATCH}"
9
9
  end
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.0
4
+ version: 3.26.1
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-02-04 00:00:00.000000000 Z
11
+ date: 2025-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday