cirro-ruby-client 2.7.2 → 2.7.3

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: ad94f96a0c6b27390e0d791a849d95a0474f0ec55638eaced19a2840604fb4d3
4
- data.tar.gz: f32d05da2b682ca91fde812166f765b880721fe7520351606a5cb6b078a74f52
3
+ metadata.gz: a284883c882e6e61c8449580ad57a886bed594109480e2ce67e570151c6c5c19
4
+ data.tar.gz: e2288b62ba9a818322d5e76025259825575dc384d6dc109cd8d8d67758a75f80
5
5
  SHA512:
6
- metadata.gz: 73b714205d1c41ec7832faba85f38bee55ce1228e90d15f9f00f15101f389b7fe0427bcbe63f7025bf2d3e956818832320880244b1f449e4bc2c52f8855faa4f
7
- data.tar.gz: bb9474503d17100fa75f6176db9b353159e808817fb5ec10c76f841b4a1613769743a64150353b5a208daf9d8f8f59ab4b562fab0202f3d984821fa04edf8801
6
+ metadata.gz: a73ad1b5f39955448ca3b6940ff7215ff56e63d654b75d8cd87623d1706fc7e70e4b05539c5322ef6f132e0f892e9614a91eea03eb6dee43664b5fcf7ef9e5ac
7
+ data.tar.gz: 77d49218048a9543f8793fc6f71eecc10dc117b842031884867f55f1dfafa438eec5b300bb5f5d41f6e9fd99ad3da1604b1f1411b0ee0d44add384008fd07d6a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (2.7.2)
4
+ cirro-ruby-client (2.7.3)
5
5
  activesupport
6
6
  faraday (< 1.11.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.7.2'
4
+ VERSION = '2.7.3'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
@@ -11,6 +11,11 @@ module CirroIOV2
11
11
  CirroIOV2::Responses::UserResponse.new(response.body)
12
12
  end
13
13
 
14
+ def delete(id)
15
+ response = client.request_client.request(:delete, "#{resource_root}/#{id}")
16
+ Responses::UserDeleteResponse.new(response.body)
17
+ end
18
+
14
19
  def notification_preference(id)
15
20
  response = client.request_client.request(:get, "#{resource_root}/#{id}/notification_preference")
16
21
  CirroIOV2::Responses::UserNotificationPreferenceResponse.new(response.body)
@@ -16,6 +16,7 @@ module CirroIOV2
16
16
  ].freeze
17
17
 
18
18
  DELETE_RESPONSES = [
19
+ :UserDeleteResponse,
19
20
  :GigDeleteResponse,
20
21
  :PayoutDeleteResponse,
21
22
  :NotificationTemplateDeleteResponse,
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.7.2
4
+ version: 2.7.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: 2025-02-24 00:00:00.000000000 Z
11
+ date: 2025-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport