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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92c3a2334f236e91ae517d02d24f53712be09bd4d339d288b46835d5b26e85a3
4
- data.tar.gz: 653f51aecb055e375c508a925ad331c3684d05b609b74c9dae46e9e98f90b40b
3
+ metadata.gz: 2f60b3aa8db76a0baf7c0ce89eed44b999ff6439afec256f9588df8b5c96b0ad
4
+ data.tar.gz: e59888c01115556f222741b06e0f7b36a9a698c60f6f3d4089c266e7d3d360da
5
5
  SHA512:
6
- metadata.gz: 87f11b8066c38e5a3d8a6de3060e9c5b3d092c4632dbc608f0d5b80d776b610a56cd4a4b3739a4900115f36c3c6456a079d832c3335f608e17e7a90c191374ab
7
- data.tar.gz: dfab1116f62d4bb445893798ec9af98547bb9d6a124965d714fb5a6bdf63e6712c40141adcffa45e02d04c9edbc06d3373a313d26af81ab287133286bb99ae2b
6
+ metadata.gz: 49bdf363a8a7ece722d79f1448a08ff71b0a9f8b6a79aa9c0570e671b405ef74a478422d89514667112efdfa6012a593991924eb6c9f76e792b48fd2d686e99b
7
+ data.tar.gz: 5089c1c98d406d9f9a739317f485addf3978723d321e999bae68e70f80c291c7b7cb3414f4b87e862cb0e45f48d3c66951f85d9b0f07108d1c4a7d3cfa07657d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (2.6.2)
4
+ cirro-ruby-client (2.6.3)
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.2'
4
+ VERSION = '2.6.3'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -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.2
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-03-11 00:00:00.000000000 Z
11
+ date: 2024-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport