cirro-ruby-client 2.6.3 → 2.6.4

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: 2f60b3aa8db76a0baf7c0ce89eed44b999ff6439afec256f9588df8b5c96b0ad
4
- data.tar.gz: e59888c01115556f222741b06e0f7b36a9a698c60f6f3d4089c266e7d3d360da
3
+ metadata.gz: a84aba0003de465a6ddd93ca47a46f8c6c1977d52aaff23113d5ef950b24b1ac
4
+ data.tar.gz: 37affd014f89eedf9e49af0b463bbfe0a1c9f9ec418c29aeaa905d4d5621810b
5
5
  SHA512:
6
- metadata.gz: 49bdf363a8a7ece722d79f1448a08ff71b0a9f8b6a79aa9c0570e671b405ef74a478422d89514667112efdfa6012a593991924eb6c9f76e792b48fd2d686e99b
7
- data.tar.gz: 5089c1c98d406d9f9a739317f485addf3978723d321e999bae68e70f80c291c7b7cb3414f4b87e862cb0e45f48d3c66951f85d9b0f07108d1c4a7d3cfa07657d
6
+ metadata.gz: d96c0998f29c25eb046a1de5c472c17244f54d8e11eaf0eada55465774441b9ae380171744afc4753e6288b98ff219fd6d16a0065aff3167bba41e55b71d2484
7
+ data.tar.gz: '097d1642325f4d755cad313cee52a76bfb80a02374dee43e056af52b6fe11091d05665089d2a75c156c82e4714c740845702cda7ae48398498885183c2f931cc'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (2.6.3)
4
+ cirro-ruby-client (2.6.4)
5
5
  activesupport
6
6
  faraday (< 1.2.0)
7
7
  faraday_middleware
@@ -1,7 +1,7 @@
1
1
  # rubocop:disable Style/MutableConstant
2
2
  module CirroIO
3
3
  module Client
4
- VERSION = '2.6.3'
4
+ VERSION = '2.6.4'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -9,6 +9,16 @@ module CirroIOV2
9
9
  response = client.request_client.request(:get, resource_root, params:)
10
10
  Responses::NotificationTopicPreferenceListResponse.new(response.body)
11
11
  end
12
+
13
+ def create(params)
14
+ response = client.request_client.request(:post, resource_root, body: params)
15
+ Responses::NotificationTopicPreferenceResponse.new(response.body)
16
+ end
17
+
18
+ def update(id, params)
19
+ response = client.request_client.request(:post, "#{resource_root}/#{id}", body: params)
20
+ Responses::NotificationTopicPreferenceResponse.new(response.body)
21
+ end
12
22
  end
13
23
  end
14
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirro-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.3
4
+ version: 2.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cirro Dev Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-04 00:00:00.000000000 Z
11
+ date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport