strongmind-platform-sdk 3.5.0 → 3.6.0

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: 229a1f19da293c59ecf0a3b9809abbc5d30fadd3aa748d7f84dd4dc158bc7fab
4
- data.tar.gz: ba044411c386a528168a2fc487c62873e0deb1ee298d16216080243cede41160
3
+ metadata.gz: b1180ae4d7fffaa434e061d60776dd3a6f422ffca61e1fda0eb3aaad557a078e
4
+ data.tar.gz: 0cf58e43f933a8fdb77e2f89d906e71bf62260fa7aee34807d59bfd6758d225f
5
5
  SHA512:
6
- metadata.gz: 7166c773a5f2ff3225ccc5cdf5b2fdb1bed70a154e7c5fbc1df3a8f574f9d7e2abcf8a5d2f5ed18f9a07c9b0c15efcd8c07ebadcca9a366f60043c18ffcdbedd
7
- data.tar.gz: c4a89a48202708d8ca9502951d8e94ce975644342952a0a0dc48e41b779bb98f2adabee1bee7d439d5837a7185cfcd7782f832ba192bf695319aef82af8edcf4
6
+ metadata.gz: 3db1289c8403879c69ec758f704b9f0bf326f67e18c9fb00a096188b57f3b277bf384b8c6f8ddcc7961f60c32be297d93c192fdff8002676be59daded7493596
7
+ data.tar.gz: '048bf2def9fcb389790ad39def860225c0787673d7df4b154181536d604966a9e132299f21b5d9957c5a83041b9ab2e36cdd30d0876c20ad9d9f0abecc67d549'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.5.0)
4
+ strongmind-platform-sdk (3.6.0)
5
5
  aws-sdk-secretsmanager (~> 1.66)
6
6
  devise
7
7
  faraday (~> 2.5, >= 2.5.2)
@@ -141,6 +141,13 @@ module PlatformSdk
141
141
  response.body
142
142
  end
143
143
 
144
+ def analytics_sessions(session_id)
145
+ raise ArgumentError, "session_id must have a value" if session_id.nil?
146
+
147
+ response = get("/analytics/sessions/#{session_id}", {}.to_json)
148
+ response.body
149
+ end
150
+
144
151
  private
145
152
 
146
153
  def build_connection
@@ -46,7 +46,7 @@ module PlatformSdk
46
46
  end
47
47
 
48
48
  def valid_power_query_names
49
- %w[specialprograms edkey.attendance_get_daily_total_minutes pitcrew.edkey.attendance_get_bulk]
49
+ %w[attendance_daily_total specialprograms edkey.attendance_get_daily_total_minutes pitcrew.edkey.attendance_get_bulk]
50
50
  end
51
51
 
52
52
  def scrub_query(query_name)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.5.0"
4
+ VERSION = "3.6.0"
5
5
  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.5.0
4
+ version: 3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-17 00:00:00.000000000 Z
11
+ date: 2023-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday