strongmind-platform-sdk 3.14.0 → 3.14.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: 6dcae177b414fd9883edab007eab75402a72d058da0dbcb3b5e76e9524451290
4
- data.tar.gz: 76a4ff7eeebff3d3336e8e3cd0af19aaa2516b1c30582e69d94c231f1c296461
3
+ metadata.gz: 9e03ad389d3011c33bc8aeade54a639e587073ba99bbb45e7e3d0a1a55515035
4
+ data.tar.gz: 39b74ba1a00416570e1ad89d1b39e0e3cb6bf3a55ba60599c6a0d1a05044afe9
5
5
  SHA512:
6
- metadata.gz: ce0e09ef5b8fe76d72ac5991427c6e8b996936721f4bb4adfe44d87a887cf47557a0d997199b465cc8408d20bfd0e190125190091c7e2b35af51874d88de3d3d
7
- data.tar.gz: 999b50edcf189f7b46930760c29ccd9ec11481e593c6ba0e6a6f68c0ae4f850fb5b12111b3569b162e617f1d6a4a24f19ce774cc2fdc079bf0be84ce774daee1
6
+ metadata.gz: 4569d716be6481e1cb732ba6b779c2ca3db2aaff05d1bfbdbf6d84b81dbfee172ed8135d18dc12b7adb4b1daa65e99b8be194947034a7831a40af9617caf844d
7
+ data.tar.gz: c7de12218c000b30bc18f276d154f8b0936fb67f9266744c2dda547a4d47b9a7ddceb3203268f43c77a248a97e40d67ec6a2ed9fb303187204211db3872e0773
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.14.0)
4
+ strongmind-platform-sdk (3.14.1)
5
5
  aws-sdk-secretsmanager (~> 1.66)
6
6
  faraday (~> 2.5, >= 2.5.2)
7
7
  faraday-retry
@@ -26,17 +26,17 @@ GEM
26
26
  public_suffix (>= 2.0.2, < 6.0)
27
27
  ast (2.4.2)
28
28
  aws-eventstream (1.3.0)
29
- aws-partitions (1.921.0)
30
- aws-sdk-cloudwatch (1.90.0)
31
- aws-sdk-core (~> 3, >= 3.193.0)
29
+ aws-partitions (1.918.0)
30
+ aws-sdk-cloudwatch (1.89.0)
31
+ aws-sdk-core (~> 3, >= 3.191.0)
32
32
  aws-sigv4 (~> 1.1)
33
- aws-sdk-core (3.193.0)
33
+ aws-sdk-core (3.192.1)
34
34
  aws-eventstream (~> 1, >= 1.3.0)
35
35
  aws-partitions (~> 1, >= 1.651.0)
36
36
  aws-sigv4 (~> 1.8)
37
37
  jmespath (~> 1, >= 1.6.1)
38
- aws-sdk-secretsmanager (1.92.0)
39
- aws-sdk-core (~> 3, >= 3.193.0)
38
+ aws-sdk-secretsmanager (1.91.0)
39
+ aws-sdk-core (~> 3, >= 3.191.0)
40
40
  aws-sigv4 (~> 1.1)
41
41
  aws-sigv4 (1.8.0)
42
42
  aws-eventstream (~> 1, >= 1.0.2)
data/README.md CHANGED
@@ -113,3 +113,6 @@ Create IdMapper Client:
113
113
 
114
114
  Create Pencil Spaces Client:
115
115
  `pencil_spaces_client = PlatformSdk::PencilSpaces::Client.new('BASE_URL', 'BEARER_TOKEN')`
116
+
117
+ Create Bynder Client:
118
+ `bynder_client = PlatformSdk::Bynder::Client.new('https://strongmind.getbynder.com/', 'API_TOKEN')`
@@ -11,6 +11,12 @@ module PlatformSdk
11
11
  @conn = conn || build_connection
12
12
  end
13
13
 
14
+ def assets(query_params = {})
15
+ resource_path = "/api/v4/media"
16
+ response = get(resource_path, query_params)
17
+ response.body
18
+ end
19
+
14
20
  def asset(asset_id)
15
21
  resource_path = "/api/v4/media"
16
22
  response = get(resource_path, { id: asset_id })
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.14.0"
4
+ VERSION = "3.14.1"
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.14.0
4
+ version: 3.14.1
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-04-29 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday