strongmind-platform-sdk 3.21.3 → 3.21.5

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: efa1b649bf5efa1b5b2becd402edd82a48f3c56cfc138c4c6e48190b30c4c1ea
4
- data.tar.gz: 8ec2206a55dc2ba2ed803509a3686761dcb544fb6c25b91d668dad8910fea3dd
3
+ metadata.gz: '078bcdb7d09535910b7f0b472f17f5e511365bcb433a4b6765a5a6a6557659a7'
4
+ data.tar.gz: d461ec9cda908ca6fb0df23cd34be015448142f3e050530155c44ad94a501abd
5
5
  SHA512:
6
- metadata.gz: e97d871efc15d00d8508e9a0cc6dca74fcfa8a390385b18285253e0e50b9224fa9596f10c4ce576abf40329adf90f73df37c9db2c061345269e271bad25c5173
7
- data.tar.gz: fc0e5681fecc25c5eef70ae0873511a70b7cd05d970d133464a37353f13d6d4efd1ce43484a792ba25fbbfb493d353fd5e87b4d899b4c6621987f312cfc3ece0
6
+ metadata.gz: dd6404727b24f9f0a0031d9a3d9a977ed24fea04386bc9d0742819ee54399c066d1fe1839c305038d2626350a868b2b5bc18f8cef3c0f72cfb2f9c550d7c795e
7
+ data.tar.gz: 1cc1e0aa11063dd45f4e826ad132216e6dc316073afcb83af13073dabd68f668e8c65d78e809e7c9cf44524be68f2453aee082595bf27c45a30f4476bcfba6f6
data/Gemfile.lock CHANGED
@@ -345,7 +345,7 @@ GEM
345
345
  concurrent-ruby (~> 1.0)
346
346
  unf (0.2.0)
347
347
  unicode-display_width (2.5.0)
348
- uri (0.13.1)
348
+ uri (1.0.2)
349
349
  webmock (3.23.1)
350
350
  addressable (>= 2.8.0)
351
351
  crack (>= 0.3.2)
@@ -80,6 +80,12 @@ module PlatformSdk
80
80
  body = get(path)
81
81
  list_of_models(models::Domain, body)
82
82
  end
83
+
84
+ def partners(**params)
85
+ path = 'api/v1/partners/'
86
+ body = get(path, params)
87
+ list_of_models(models::Partner, body)
88
+ end
83
89
  end
84
90
  end
85
91
  end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PlatformSdk
4
+ module IdMapper
5
+ module Models
6
+ class Partner
7
+ attr_accessor :id, :name, :display_name, :canvas_domain,
8
+ :canvas_account, :canvas_account_uuid, :powerschool_domain,
9
+ :powerschool_dcid, :powerschool_school_number, :fuji_id,
10
+ :default_grade, :group_label, :clever_district_id, :clever_school_id,
11
+ :roster_source, :feature_identity_emails,
12
+ :canvas_authentication_provider_type
13
+
14
+ def initialize(attributes = {})
15
+ attributes.each do |key, value|
16
+ instance_variable_set("@#{key}", value)
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'platform_sdk/id_mapper/models/domain'
4
+ require 'platform_sdk/id_mapper/models/partner'
4
5
 
5
6
  module Models
6
7
 
@@ -3,7 +3,7 @@
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
5
  MINOR = 21
6
- PATCH = 3
6
+ PATCH = 5
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.21.3
4
+ version: 3.21.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-25 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -271,6 +271,7 @@ files:
271
271
  - lib/platform_sdk/id_mapper/constants.rb
272
272
  - lib/platform_sdk/id_mapper/models.rb
273
273
  - lib/platform_sdk/id_mapper/models/domain.rb
274
+ - lib/platform_sdk/id_mapper/models/partner.rb
274
275
  - lib/platform_sdk/identity.rb
275
276
  - lib/platform_sdk/identity/clients.rb
276
277
  - lib/platform_sdk/jobs/send_noun_to_pipeline_job.rb