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 +4 -4
- data/lib/fat_zebra/utilities/apple_pay/domain.rb +23 -8
- data/lib/fat_zebra/version.rb +1 -1
- 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: d35cdb587442ac63eba5fcfcfdf92adf55d64f4d360d91a73f400dfc500f992a
|
4
|
+
data.tar.gz: d8f3d7faee1356cbf23a9eed40b20fb250a6d5e209afc370a65ce2c844b91a74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
|
data/lib/fat_zebra/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2024-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|