fat_zebra 3.2.8 → 3.2.9

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: 625b6ff9cd32d884e4e644b9655a134bc5d07d5add01a137e584f48e03efd883
4
- data.tar.gz: d771ca15d1733de9660daf647b26451acfada63f146ed4fd8771e2eb78dbffb0
3
+ metadata.gz: d35cdb587442ac63eba5fcfcfdf92adf55d64f4d360d91a73f400dfc500f992a
4
+ data.tar.gz: d8f3d7faee1356cbf23a9eed40b20fb250a6d5e209afc370a65ce2c844b91a74
5
5
  SHA512:
6
- metadata.gz: f7197165ac27625530e9d2f9892a316723fc7219ccc57b8fcaf40886b1fb215e9191bca0f0b4c24579da7a5c04172029b9d587ba50e88e9144e95a6045bcbb5a
7
- data.tar.gz: 62bbd024edd93157ad6326d63ebcf996053713aed999feaad568e490a0620269b2d0b2fe932da25ca6ea119d8e992c28f9f759ca3b9fe2aca770587ed46c2c49
6
+ metadata.gz: c2c1badd7e421ab6fddaa0abd78c3fb66c41667781145b90f9b6dfa74876712d1226bde761c49d16e1cdde3236a243cf0d31390efab41273af62610fb209dcd2
7
+ data.tar.gz: b6d5f84a7d987bdd4f9964cda260e02a38df5a93a7c16012f1fa0079c7435cda21d1673aa5c4417713d24c6aa0ac2a0393fbd5061ea018ac1911d175b2e941e2
@@ -12,36 +12,51 @@ module FatZebra
12
12
  ##
13
13
  # List Apple Pay (web) domains
14
14
  #
15
+ # @param [Hash] options for the request, and configurations (Optional)
16
+ #
15
17
  # @return [FatZebra::Utilities::ApplePay::Domains] response
16
- def list
17
- response = request(:get, ENDPOINT_URL)
18
+ def list(options = {})
19
+ params = {}
20
+ response = request(:get, ENDPOINT_URL, params, options)
18
21
  initialize_from(response)
19
22
  end
20
23
 
21
24
  ##
22
25
  # Register an Apple Pay (web) domain
23
26
  #
27
+ # @param [String] domain
28
+ # @param [Hash] params
29
+ # @param [Hash] options for the request, and configurations (Optional)
30
+ #
24
31
  # @return [FatZebra::Utilities::ApplePay::Domains] response
25
- def register!(domain, params = {})
26
- response = request(:post, path(domain), params)
32
+ def register!(domain, params = {}, options = {})
33
+ response = request(:post, path(domain), params, options)
27
34
  initialize_from(response)
28
35
  end
29
36
 
30
37
  ##
31
38
  # Check registration status of an Apple Pay (web) domain
32
39
  #
40
+ # @param [String] domain
41
+ # @param [Hash] options for the request, and configurations (Optional)
42
+ #
33
43
  # @return [FatZebra::Utilities::ApplePay::Domains] response
34
- def find!(domain)
35
- response = request(:get, path(domain))
44
+ def find!(domain, options = {})
45
+ params = {}
46
+ response = request(:get, path(domain), params, options)
36
47
  initialize_from(response)
37
48
  end
38
49
 
39
50
  ##
40
51
  # Delete an Apple Pay (web) domain
41
52
  #
53
+ # @param [String] domain
54
+ # @param [Hash] options for the request, and configurations (Optional)
55
+ #
42
56
  # @return [FatZebra::Utilities::ApplePay::Domains] response
43
- def delete!(domain)
44
- response = request(:delete, path(domain))
57
+ def delete!(domain, options = {})
58
+ params = {}
59
+ response = request(:delete, path(domain), params, options)
45
60
  initialize_from(response)
46
61
  end
47
62
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FatZebra
4
- VERSION = '3.2.8'
4
+ VERSION = '3.2.9'
5
5
 
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_zebra
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.8
4
+ version: 3.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fat Zebra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-27 00:00:00.000000000 Z
11
+ date: 2024-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug