processout 6.0.0 → 6.0.1
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/processout/invoice_device.rb +11 -0
- data/lib/processout/networking/request.rb +1 -1
- data/lib/processout/version.rb +1 -1
- data/processout.gemspec +2 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5dea92712eeee01ecaa734e30d9d706bc64486f5c418b4ee28e876afcf205a16
|
|
4
|
+
data.tar.gz: 58cba1a7a63dcdfc62b3e0fa191a67567bc4dbccdf6e981bb93aca0fb2cede28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39d7dc71ce7917da7f8ce181ed2c5637cfa0610d7b5d8924b2379acec64150c2697cfe6948d681026b4ffd7a3503a0fd4d486881aafb63a8754dd302fd0d2f46
|
|
7
|
+
data.tar.gz: 0ff11cd98bf700fca3bc011f9f385e52499d242776e0d3eff04c1c574c4e719135e02554ad64f17bc6368d240b3b4b8d7a52a60fbfbe552980fc22fa567be67c
|
|
@@ -9,6 +9,7 @@ module ProcessOut
|
|
|
9
9
|
class InvoiceDevice
|
|
10
10
|
|
|
11
11
|
attr_reader :channel
|
|
12
|
+
attr_reader :threeds_sdk
|
|
12
13
|
attr_reader :platform
|
|
13
14
|
attr_reader :ip_address
|
|
14
15
|
attr_reader :id
|
|
@@ -18,6 +19,10 @@ module ProcessOut
|
|
|
18
19
|
@channel = val
|
|
19
20
|
end
|
|
20
21
|
|
|
22
|
+
def threeds_sdk=(val)
|
|
23
|
+
@threeds_sdk = val
|
|
24
|
+
end
|
|
25
|
+
|
|
21
26
|
def platform=(val)
|
|
22
27
|
@platform = val
|
|
23
28
|
end
|
|
@@ -39,6 +44,7 @@ module ProcessOut
|
|
|
39
44
|
@client = client
|
|
40
45
|
|
|
41
46
|
self.channel = data.fetch(:channel, nil)
|
|
47
|
+
self.threeds_sdk = data.fetch(:threeds_sdk, nil)
|
|
42
48
|
self.platform = data.fetch(:platform, nil)
|
|
43
49
|
self.ip_address = data.fetch(:ip_address, nil)
|
|
44
50
|
self.id = data.fetch(:id, nil)
|
|
@@ -54,6 +60,7 @@ module ProcessOut
|
|
|
54
60
|
def to_json(options)
|
|
55
61
|
{
|
|
56
62
|
"channel": self.channel,
|
|
63
|
+
"threeds_sdk": self.threeds_sdk,
|
|
57
64
|
"platform": self.platform,
|
|
58
65
|
"ip_address": self.ip_address,
|
|
59
66
|
"id": self.id,
|
|
@@ -70,6 +77,9 @@ module ProcessOut
|
|
|
70
77
|
if data.include? "channel"
|
|
71
78
|
self.channel = data["channel"]
|
|
72
79
|
end
|
|
80
|
+
if data.include? "threeds_sdk"
|
|
81
|
+
self.threeds_sdk = data["threeds_sdk"]
|
|
82
|
+
end
|
|
73
83
|
if data.include? "platform"
|
|
74
84
|
self.platform = data["platform"]
|
|
75
85
|
end
|
|
@@ -91,6 +101,7 @@ module ProcessOut
|
|
|
91
101
|
return self
|
|
92
102
|
end
|
|
93
103
|
self.channel = data.fetch(:channel, self.channel)
|
|
104
|
+
self.threeds_sdk = data.fetch(:threeds_sdk, self.threeds_sdk)
|
|
94
105
|
self.platform = data.fetch(:platform, self.platform)
|
|
95
106
|
self.ip_address = data.fetch(:ip_address, self.ip_address)
|
|
96
107
|
self.id = data.fetch(:id, self.id)
|
|
@@ -13,7 +13,7 @@ module ProcessOut
|
|
|
13
13
|
req.basic_auth @client.project_id, @client.project_secret
|
|
14
14
|
req.content_type = "application/json"
|
|
15
15
|
req["API-Version"] = "1.4.0.0"
|
|
16
|
-
req["User-Agent"] = "ProcessOut Ruby-Bindings/6.0.
|
|
16
|
+
req["User-Agent"] = "ProcessOut Ruby-Bindings/6.0.1"
|
|
17
17
|
|
|
18
18
|
unless options.nil?
|
|
19
19
|
req["Idempotency-Key"] = options.fetch(:idempotency_key, "")
|
data/lib/processout/version.rb
CHANGED
data/processout.gemspec
CHANGED
|
@@ -13,6 +13,8 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.homepage = "https://docs.processout.com"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
17
|
+
|
|
16
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
17
19
|
f.match(%r{^(test|spec|features)/})
|
|
18
20
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: processout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Manuel HUEZ
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -162,7 +162,8 @@ files:
|
|
|
162
162
|
homepage: https://docs.processout.com
|
|
163
163
|
licenses:
|
|
164
164
|
- MIT
|
|
165
|
-
metadata:
|
|
165
|
+
metadata:
|
|
166
|
+
rubygems_mfa_required: 'true'
|
|
166
167
|
post_install_message:
|
|
167
168
|
rdoc_options: []
|
|
168
169
|
require_paths:
|