cirro-ruby-client 2.6.2 → 2.6.4
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: a84aba0003de465a6ddd93ca47a46f8c6c1977d52aaff23113d5ef950b24b1ac
|
4
|
+
data.tar.gz: 37affd014f89eedf9e49af0b463bbfe0a1c9f9ec418c29aeaa905d4d5621810b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d96c0998f29c25eb046a1de5c472c17244f54d8e11eaf0eada55465774441b9ae380171744afc4753e6288b98ff219fd6d16a0065aff3167bba41e55b71d2484
|
7
|
+
data.tar.gz: '097d1642325f4d755cad313cee52a76bfb80a02374dee43e056af52b6fe11091d05665089d2a75c156c82e4714c740845702cda7ae48398498885183c2f931cc'
|
data/Gemfile.lock
CHANGED
@@ -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
|
@@ -25,6 +25,11 @@ module CirroIOV2
|
|
25
25
|
response = client.request_client.request(:post, "#{resource_root}/#{id}/worker", body: params)
|
26
26
|
CirroIOV2::Responses::UserResponse.new(response.body)
|
27
27
|
end
|
28
|
+
|
29
|
+
def invitation_attempt(id, params)
|
30
|
+
response = client.request_client.request(:post, "#{resource_root}/#{id}/invitation_attempt", body: params)
|
31
|
+
CirroIOV2::Responses::UserInvitationAttemptResponse.new(response.body)
|
32
|
+
end
|
28
33
|
end
|
29
34
|
end
|
30
35
|
end
|
@@ -37,6 +37,16 @@ module CirroIOV2
|
|
37
37
|
include Base
|
38
38
|
end
|
39
39
|
|
40
|
+
UserInvitationAttemptResponse = Struct.new(:id,
|
41
|
+
:object,
|
42
|
+
:payload,
|
43
|
+
:gig_ids,
|
44
|
+
:app_worker_id,
|
45
|
+
:created_at,
|
46
|
+
keyword_init: true) do
|
47
|
+
include Base
|
48
|
+
end
|
49
|
+
|
40
50
|
UserNotificationPreferenceResponse = Struct.new(:id, :object, :locale, :topics, keyword_init: true) do
|
41
51
|
self::NESTED_RESPONSES = { topics: :NotificationTopicPreferenceListResponse }.freeze
|
42
52
|
include Base
|
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.
|
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-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|