strongmind-platform-sdk 3.5.1 → 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: 7d9908373cc636756d53e320078a9fcc4ca8f99ab4f3a0ca24701b00aa412636
4
- data.tar.gz: dcb91c9f2d0a49d4a857ed08160b430b1d8340d13d6f56a3f055a52a13b487d7
3
+ metadata.gz: b1180ae4d7fffaa434e061d60776dd3a6f422ffca61e1fda0eb3aaad557a078e
4
+ data.tar.gz: 0cf58e43f933a8fdb77e2f89d906e71bf62260fa7aee34807d59bfd6758d225f
5
5
  SHA512:
6
- metadata.gz: a757372774cb0281af5e83284f47d5d6ea5036d96c94639d62414700143fbb78dabe32cb2502328dc997f23232314d2d9f3d7a077555ef89b08fb60f5f1232f2
7
- data.tar.gz: 2cd11bcf352627c65a6e3f29bffe9a33290852808a962f342a4c396eae3b81486c45708768cb05d99e05d180129a84bef98ab9ea65d8fb02f3c24da8828a0ea4
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.1)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.5.1"
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.1
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-20 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