strongmind-platform-sdk 3.23.5 → 3.23.7

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: aed201eb3170af51fbe129f4289befd8ebdd91929b23ba4ac9318be74e5de1f1
4
- data.tar.gz: 022c0b50ef0be283637d0df4d9d6bc54c65109ed69bf1e7217cb86e81a69c3b7
3
+ metadata.gz: c167295d6e4adf2e0f6d466ab898665036178aa03752ea6fecc12880cf8deb8b
4
+ data.tar.gz: 81e222d8caa852e9666078093d19868bc94a063cfcbaef13f8e1fa28203d1ea1
5
5
  SHA512:
6
- metadata.gz: e0bce8f0e4eef2205b4ad452b33b2946c455d6e157eebce35b9e41539fbde4704a88dd5e530ce29f669c9f552a3cf9011f7191605baa4890dec9e43ec2e52014
7
- data.tar.gz: 8b9d639cdb8333d25467981053fc3846b8322636ceedd2de20ad826e6123d56a6f22c75393a65f08e60e4873a9e218d756ca8f6bbaab4bac14c84da239eab79d
6
+ metadata.gz: 575bb443db5c98c5908f460b4996ca3efcd49f5cf54a9d8737a6ade4efcb406a5a391b2fea3f9aa8234872479e6811578a6e074963ce2d8b037f04c45bf55646
7
+ data.tar.gz: c1b611413a7f23d8329a5b13d3db6573504815dab02f6d43dea7f3decdd7143cae67f6a139773d409f3ac5d610388e365d2bd2cc843966a736243778845c83fa
@@ -15,11 +15,11 @@ module PlatformSdk
15
15
  response.body
16
16
  end
17
17
 
18
- def teacher_enrollments(external_course_id = nil, org_identifier = nil)
18
+ def teacher_enrollments(external_course_id = nil, partner_name = nil)
19
19
  resource_path = '/api/teacher_enrollments'
20
20
 
21
- if external_course_id.present? && org_identifier.present?
22
- resource_path += "?external_course_id=#{external_course_id}&org_identifier=#{org_identifier}"
21
+ if external_course_id.present? && partner_name.present?
22
+ resource_path += "?external_course_id=#{external_course_id}&partner_name=#{partner_name}"
23
23
  end
24
24
 
25
25
  response = get(resource_path)
@@ -39,6 +39,12 @@ module PlatformSdk
39
39
  response.body
40
40
  end
41
41
 
42
+ def notifications(**notification)
43
+ resource_path = '/api/notifications'
44
+ response = post(resource_path, notification)
45
+ response.body
46
+ end
47
+
42
48
  private
43
49
 
44
50
  def build_connection
@@ -3,7 +3,7 @@
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
5
  MINOR = 23
6
- PATCH = 5
6
+ PATCH = 7
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.23.5
4
+ version: 3.23.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -310,7 +310,7 @@ metadata:
310
310
  homepage_uri: https://github.com/StrongMind/platform-ruby-sdk
311
311
  source_code_uri: https://github.com/StrongMind/platform-ruby-sdk
312
312
  changelog_uri: https://github.com/StrongMind/platform-ruby-sdk/blob/main/CHANGELOG.md
313
- post_install_message:
313
+ post_install_message:
314
314
  rdoc_options: []
315
315
  require_paths:
316
316
  - lib
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  version: '0'
327
327
  requirements: []
328
328
  rubygems_version: 3.4.10
329
- signing_key:
329
+ signing_key:
330
330
  specification_version: 4
331
331
  summary: This gem is intended to provide clients and models for accessing the Platform
332
332
  APIs.