cirro-ruby-client 2.5.3 → 2.5.5

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: 16ac5345905be9000d1babb8c6729e4d972af7263b9a3cf91c7d470b8b5af198
4
- data.tar.gz: bced0b73e2c5a49b2e448401f79683900e441952853b03a3453116729c9680b1
3
+ metadata.gz: 7ca5782ead2e747f8684e7a9905f93891b9fc51a04740ff7f167cc2763b4607c
4
+ data.tar.gz: 15f977eebc256f442124ec41f244ad4a60200519d9ddb819ce6c83d33e3ec9c4
5
5
  SHA512:
6
- metadata.gz: 68ba0cc2b8ec811ff7bf31db9476372fa211281a07122346ef7ca7aafef61d036237373fbe802adbf61ceed266dbb27a1fb847fc3b071a9347593cc38a588413
7
- data.tar.gz: 59d823c2d0540d5463b36553774e3ff9f1ccc5941d27843742e6d348f6aff5df95d3d0f5c86593f7d8564321c135e09b6efd6abc9f7ddab5ea5fd4769f4ef6af
6
+ metadata.gz: 94232d3ec382c31dfb915d4f03c2d9ea1bf18ce822b2f51cd81633a96594b3fef0a8b07f90c6420283674fc644cfee4b0d686f95ae2165cb31703744d429df5d
7
+ data.tar.gz: ff9a6e73ed697aca587a6e7a71487a175f291853a46e0f5a15774072758a478a24887ac74063dcbcbd9be33ac462e2a7c3a4376063a8b81ece9be7fb47bdd778
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (2.5.3)
4
+ cirro-ruby-client (2.5.4)
5
5
  activesupport
6
6
  faraday (< 1.2.0)
7
7
  faraday_middleware
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This gem provides access to the [Cirro REST API](https://staging.cirro.io/api-docs/v1#cirro-api-documentation).
4
4
 
5
- [![CircleCI](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master.svg?style=svg)](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master)
5
+ [![CircleCI](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master.svg?style=svg&circle-token=a77e4eac5646768d681283763d2a29a55a221d7c)](https://circleci.com/gh/test-IO/cirro-ruby-client/tree/master)
6
6
 
7
7
  ## Installation
8
8
 
@@ -1,7 +1,7 @@
1
1
  # rubocop:disable Style/MutableConstant
2
2
  module CirroIO
3
3
  module Client
4
- VERSION = '2.5.3'
4
+ VERSION = '2.5.5'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -6,8 +6,8 @@ module CirroIOV2
6
6
  Responses::GigInvitationListResponse.new(response.body)
7
7
  end
8
8
 
9
- def accept(id)
10
- response = client.request_client.request(:post, "#{resource_root}/#{id}/accept")
9
+ def accept(id, params = nil)
10
+ response = client.request_client.request(:post, "#{resource_root}/#{id}/accept", body: params)
11
11
  Responses::GigInvitationResponse.new(response.body)
12
12
  end
13
13
 
@@ -5,6 +5,11 @@ module CirroIOV2
5
5
  response = client.request_client.request(:post, resource_root, body: params)
6
6
  Responses::SpaceInvitationResponse.new(response.body)
7
7
  end
8
+
9
+ def expire(id)
10
+ response = client.request_client.request(:post, "#{resource_root}/#{id}")
11
+ Responses::SpaceInvitationResponse.new(response.body)
12
+ end
8
13
  end
9
14
  end
10
15
  end
@@ -54,7 +54,7 @@ module CirroIOV2
54
54
  include Base
55
55
  end
56
56
 
57
- GigInvitationResponse = Struct.new(:id, :object, :status, :gig_id, :user_id) do
57
+ GigInvitationResponse = Struct.new(:id, :object, :status, :gig_id, :user_id, :no_reward) do
58
58
  include Base
59
59
  end
60
60
 
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.5.3
4
+ version: 2.5.5
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-12-22 00:00:00.000000000 Z
11
+ date: 2023-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport