unit-ruby 0.2.7 → 0.3.7
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/Gemfile.lock +3 -3
- data/lib/unit-ruby/authorization.rb +12 -0
- data/lib/unit-ruby/individual_application.rb +1 -0
- data/lib/unit-ruby/version.rb +1 -1
- data/lib/unit-ruby.rb +1 -0
- data/unit-ruby.gemspec +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85cc2b45531a2209cca9996808adf08499c99ca20c7c46ffa2546199b2233970
|
4
|
+
data.tar.gz: f7aa80fa8ef3ba7f96ed2f508ec4da0a53f76414d239ecb66b495831affea55c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8b539b90bc395e4437dc85d31f5653b2c9b27b304205f882eaae923028e4edf6b6f8c6b56c3ceb241dadbbaaa8577fb76bdb08bb6057c3ec514e20633401c6e
|
7
|
+
data.tar.gz: e283b5244f7b8692f2c37d4418c03bbbdbc614daa9e8f7956745744530f9d85ea6761c8756a87e9db1180eeb109ff6efbdc657795a0847919f43bc8b9e058a8d
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unit-ruby (0.
|
4
|
+
unit-ruby (0.3.7)
|
5
5
|
activesupport (>= 6.1.5, < 7.1.0)
|
6
6
|
faraday (~> 1.8.0)
|
7
7
|
faraday_middleware (~> 1.0.0)
|
@@ -89,7 +89,7 @@ PLATFORMS
|
|
89
89
|
ruby
|
90
90
|
|
91
91
|
DEPENDENCIES
|
92
|
-
bundler (~>
|
92
|
+
bundler (~> 2.4.0)
|
93
93
|
dotenv (~> 2.7.6)
|
94
94
|
pry
|
95
95
|
rake (~> 13.0)
|
@@ -98,4 +98,4 @@ DEPENDENCIES
|
|
98
98
|
unit-ruby!
|
99
99
|
|
100
100
|
BUNDLED WITH
|
101
|
-
|
101
|
+
2.4.19
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Unit
|
2
|
+
class Authorization < APIResource
|
3
|
+
path '/authorizations'
|
4
|
+
|
5
|
+
attribute :amount, Types::Integer
|
6
|
+
attribute :status, Types::String
|
7
|
+
attribute :summary, Types::String
|
8
|
+
attribute :created_at, Types::DateTime, readonly: true
|
9
|
+
|
10
|
+
include ResourceOperations::List
|
11
|
+
end
|
12
|
+
end
|
@@ -17,6 +17,7 @@ module Unit
|
|
17
17
|
attribute :tags, Types::Hash # Optional. Tags that will be copied to the customer that this application creates
|
18
18
|
attribute :idempotency_key, Types::String # Optional
|
19
19
|
attribute :device_fingerprints, Types::Array # array of Device Fingerprint Optional. A list of device fingerprints for fraud and risk prevention
|
20
|
+
attribute :occupation, Types::String # Occupation of the individual
|
20
21
|
|
21
22
|
attribute :created_at, Types::DateTime, readonly: true
|
22
23
|
attribute :status, Types::String, readonly: true
|
data/lib/unit-ruby/version.rb
CHANGED
data/lib/unit-ruby.rb
CHANGED
@@ -23,6 +23,7 @@ require 'unit-ruby/types/string'
|
|
23
23
|
require 'unit-ruby/ach_payment'
|
24
24
|
require 'unit-ruby/application_form'
|
25
25
|
require 'unit-ruby/atm_location'
|
26
|
+
require 'unit-ruby/authorization'
|
26
27
|
require 'unit-ruby/customer_token_verification'
|
27
28
|
require 'unit-ruby/customer_token'
|
28
29
|
require 'unit-ruby/deposit_account'
|
data/unit-ruby.gemspec
CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_dependency 'faraday', '~> 1.8.0'
|
39
39
|
spec.add_dependency 'faraday_middleware', '~> 1.0.0'
|
40
40
|
|
41
|
-
spec.add_development_dependency 'bundler', '~>
|
41
|
+
spec.add_development_dependency 'bundler', '~> 2.4.0'
|
42
42
|
spec.add_development_dependency 'dotenv', '~> 2.7.6'
|
43
43
|
spec.add_development_dependency 'pry'
|
44
44
|
spec.add_development_dependency 'rake', '~> 13.0'
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unit-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chloe Isacke
|
8
8
|
- Ian Yamey
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -65,14 +65,14 @@ dependencies:
|
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.4.0
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 2.4.0
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: dotenv
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,7 +143,7 @@ dependencies:
|
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: 1.24.1
|
146
|
-
description:
|
146
|
+
description:
|
147
147
|
email:
|
148
148
|
- chloe@retirable.com
|
149
149
|
- ian@retirable.com
|
@@ -169,6 +169,7 @@ files:
|
|
169
169
|
- lib/unit-ruby/ach_payment.rb
|
170
170
|
- lib/unit-ruby/application_form.rb
|
171
171
|
- lib/unit-ruby/atm_location.rb
|
172
|
+
- lib/unit-ruby/authorization.rb
|
172
173
|
- lib/unit-ruby/customer_token.rb
|
173
174
|
- lib/unit-ruby/customer_token_verification.rb
|
174
175
|
- lib/unit-ruby/deposit_account.rb
|
@@ -210,7 +211,7 @@ metadata:
|
|
210
211
|
source_code_uri: https://github.com/retirable/unit-ruby
|
211
212
|
changelog_uri: https://github.com/retirable/unit-ruby/blob/main/CHANGELOG.md
|
212
213
|
rubygems_mfa_required: 'true'
|
213
|
-
post_install_message:
|
214
|
+
post_install_message:
|
214
215
|
rdoc_options: []
|
215
216
|
require_paths:
|
216
217
|
- lib
|
@@ -225,8 +226,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
226
|
- !ruby/object:Gem::Version
|
226
227
|
version: '0'
|
227
228
|
requirements: []
|
228
|
-
rubygems_version: 3.3
|
229
|
-
signing_key:
|
229
|
+
rubygems_version: 3.2.3
|
230
|
+
signing_key:
|
230
231
|
specification_version: 4
|
231
232
|
summary: A Ruby gem for communicating with the Unit API.
|
232
233
|
test_files: []
|