cirro-ruby-client 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cirro_io/client/version.rb +1 -1
- data/lib/cirro_io_v2/resources/user.rb +5 -0
- data/lib/cirro_io_v2/responses/responses.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f60b3aa8db76a0baf7c0ce89eed44b999ff6439afec256f9588df8b5c96b0ad
|
4
|
+
data.tar.gz: e59888c01115556f222741b06e0f7b36a9a698c60f6f3d4089c266e7d3d360da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49bdf363a8a7ece722d79f1448a08ff71b0a9f8b6a79aa9c0570e671b405ef74a478422d89514667112efdfa6012a593991924eb6c9f76e792b48fd2d686e99b
|
7
|
+
data.tar.gz: 5089c1c98d406d9f9a739317f485addf3978723d321e999bae68e70f80c291c7b7cb3414f4b87e862cb0e45f48d3c66951f85d9b0f07108d1c4a7d3cfa07657d
|
data/Gemfile.lock
CHANGED
@@ -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.3
|
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-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|