strongmind-platform-sdk 3.26.7 → 3.26.8

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: 63955cfe92e5bc10c280fb00c1c3b2582785e99e58c0a8159735a7ee51ed25b3
4
- data.tar.gz: d9cb8046bf58fad2543aa5cc399fda3ed8e4e10c7d2c98baf04b5c4e586b2ed6
3
+ metadata.gz: 306f65cd609b20e89bae206aad8ef3ce71d62a074cf5a89c2c7372024e8b1029
4
+ data.tar.gz: eaf8b537d146fb66daa777c830ad81af145bc2ddc01c0d4622ddd5dcf2e0b295
5
5
  SHA512:
6
- metadata.gz: a29bd4200320efb5f78e6a7f797fb86d00ade9a2c0d6f53482ca99b1323f4e82a19004865d460a154bb386a9c45c96bd457751f1d475284314df6b157812dc16
7
- data.tar.gz: 0234207fc5234a566038342c93d9617c76b85e22d568e4ef943a32eb597101b7b6be0bcd8adfe4519c6456e9a9a1d12506780661be034de9bca37429c1fa964a
6
+ metadata.gz: d7d04c865f4d562f2214efa52a0e06e4ca6aeaab863b0cb4b6b096d5f6ba13e037741663aaf4b21c9a487ad3dd4f60fb804daa05d1d3a6dd42104ee3df34b2ba
7
+ data.tar.gz: 50dcfbf5ff1752a3186e90153468710a730f750b57ec9cd6567fba77d76cda9474fb77053fe700408e6c7a92d25c01b280f22a9f0c2f2eef328ab02154e524bc
@@ -76,6 +76,13 @@ module PlatformSdk
76
76
  response.body
77
77
  end
78
78
  end
79
+
80
+ def deactivate_account(account_id)
81
+ with_rescue do
82
+ response = @conn.patch("/api/Accounts/#{account_id}", { isActive: false })
83
+ response.body
84
+ end
85
+ end
79
86
  end
80
87
 
81
88
  # Client for getting auth tokens from identity server
@@ -3,7 +3,7 @@
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
5
  MINOR = 26
6
- PATCH = 7
6
+ PATCH = 8
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.7
4
+ version: 3.26.8
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-05-16 00:00:00.000000000 Z
11
+ date: 2025-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday