cirro-ruby-client 2.2.0 → 2.2.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: 3a120d9a51454b845c16158501e4ef77ac0cc24e6e64533e9c4d36222e8d6b96
4
- data.tar.gz: 5e710de314860b7e51321e15a8280054a95aa11965aeea426aff74c73481a0d0
3
+ metadata.gz: bad4d8ea7ee1d896f80d0683017351fb6abb4d5a405029bde6336000816bbb99
4
+ data.tar.gz: 283add293e1ac93ffdedf1bf119acbd993e7ad2493d072de6cd1ebd0e16582de
5
5
  SHA512:
6
- metadata.gz: e2aecfa0f10747956ad0cf2970a50ae4256b5abff46934af65287a7a03e782b699e751413e89eaee7c9657717940905b6752be6d54b35a8043b9e47ca231b680
7
- data.tar.gz: 19ed5dae962259b8246e38f97e92142bfd3334049079140ed3052771c384b5c5170335196d00f04a89fd754ad310b1805cc594ec7f470d6fe55c521734b1df34
6
+ metadata.gz: 26cd4f5311b44d5b055bd2a07cf4702d7f3ebaf4b2005ab1660bfa89681b09a44c8b5eaf6713dc643e807b3bdb12322739497f00defc6787433c8500c1f7a429
7
+ data.tar.gz: 9914227f35886b4c53ef3c18ebc58334b0fb50fd122a6e61ce26e41967dbb83ad4c0b503324104f749ef91f788e29b354169a8c10d29c2287dc892f85210f5ea
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (2.2.0)
4
+ cirro-ruby-client (2.2.1)
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.2.0'
4
+ VERSION = '2.2.1'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -5,6 +5,11 @@ module CirroIOV2
5
5
  UPDATE_ALLOWED_PARAMS = [:name].freeze
6
6
  CREATE_TEMPLATE_ALLOWED_PARAMS = [:notification_configuration_id, :body].freeze
7
7
 
8
+ def list(params = nil)
9
+ response = client.request_client.request(:get, resource_root, params: params)
10
+ Responses::NotificationLayoutListResponse.new(response.body)
11
+ end
12
+
8
13
  def create(params)
9
14
  params_allowed?(params, CREATE_ALLOWED_PARAMS)
10
15
  response = client.request_client.request(:post, resource_root, body: params)
@@ -8,6 +8,7 @@ module CirroIOV2
8
8
  :PayoutListResponse,
9
9
  :NotificationTopicPreferenceListResponse,
10
10
  :NotificationLocaleListResponse,
11
+ :NotificationLayoutListResponse,
11
12
  :NotificationConfigurationListResponse,
12
13
  :NotificationLayoutTemplateListResponse,
13
14
  :NotificationTopicListResponse,
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.2.0
4
+ version: 2.2.1
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: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport