cirro-ruby-client 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bad4d8ea7ee1d896f80d0683017351fb6abb4d5a405029bde6336000816bbb99
|
4
|
+
data.tar.gz: 283add293e1ac93ffdedf1bf119acbd993e7ad2493d072de6cd1ebd0e16582de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26cd4f5311b44d5b055bd2a07cf4702d7f3ebaf4b2005ab1660bfa89681b09a44c8b5eaf6713dc643e807b3bdb12322739497f00defc6787433c8500c1f7a429
|
7
|
+
data.tar.gz: 9914227f35886b4c53ef3c18ebc58334b0fb50fd122a6e61ce26e41967dbb83ad4c0b503324104f749ef91f788e29b354169a8c10d29c2287dc892f85210f5ea
|
data/Gemfile.lock
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|