strongmind-platform-sdk 3.22.0 → 3.22.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: 9e9ff73eda1f649e1c8e4eb15dd2da01e809a7f588e1d54446b5bd3aec13f673
4
- data.tar.gz: 12c1e3c02c3ef63dd771c26c51a32b4f6bf28300209a8297f63f4e014f704f12
3
+ metadata.gz: 9e26622af2ec26d4e97d517f053cdc8a077eaa80bc3e2c4c91143d4a0f871fe2
4
+ data.tar.gz: 9ca6bcac51beb3ec94dedbe8518e46a381883a134f924249efa9668bcc35509a
5
5
  SHA512:
6
- metadata.gz: 38f5e2509b68cb49747ac4b908d7c0c3a239f865e12924aa84fc384d4456e0e9a74d91a691ff66a23fd32d1a221181c7fc8f5676fe7daeca539d8bb2bae706e2
7
- data.tar.gz: a8a0e3b031916c8b70dc058c748877f57b954006fbe568b08c8276d9d55a86c32cd9882e075c58aabf4662e06f8862465afd187eb88ed35dcd4463323f2036cd
6
+ metadata.gz: 34454fe1d43263ce569451d399ac6b29351cb95c743343275a08a65f06fee688a6542d36b8c0c156dff59f56003692e7a20c55177b7c43bfa38604b578955c7e
7
+ data.tar.gz: 343f741b4485492ba1d103d19d681ed5bb18f8f248c6ef0f57534f840077e60a2a5a60c4a4c8192f35def49061c62b0d07c0329d0ec0e16a4b79701768e528b6
@@ -28,6 +28,13 @@ module PlatformSdk
28
28
  response.body
29
29
  end
30
30
 
31
+ def orgs(roster_id: nil)
32
+ resource_path = '/api/orgs'
33
+ resource_path += "?roster_id=#{roster_id}" if roster_id
34
+ response = get(resource_path)
35
+ response.body
36
+ end
37
+
31
38
  private
32
39
 
33
40
  def build_connection
@@ -3,7 +3,7 @@
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
5
  MINOR = 22
6
- PATCH = 0
6
+ PATCH = 1
7
7
 
8
8
  VERSION = "#{PlatformSdk::MAJOR}.#{PlatformSdk::MINOR}.#{PlatformSdk::PATCH}"
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.22.0
4
+ version: 3.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team