unit-ruby 0.5.0 → 0.6.0
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 +1 -1
- data/lib/unit-ruby/ach_counterparty.rb +22 -0
- data/lib/unit-ruby/version.rb +1 -1
- data/lib/unit-ruby.rb +1 -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: f7cb7026d5f889029b04f9d2f57cdfaf2df6b32c744db4005cfe7215310b519e
|
4
|
+
data.tar.gz: 04ff7674aa7e1c757f66cf599c02d36a707d1bdc2301bd92b85a5a8d3414672e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97986bc5c32f155b99b79bd17fe2d559ba3ca57cbe8ddba591b745b36f3424e53b87f59382eb7ad24c715908ea0a70a3893ffb229b0798a823e451082cd39a6
|
7
|
+
data.tar.gz: a2802acbd1879dccba1e0ff868bd63507bbdbb6c8fd3269dc8e326ab3661d4749b8c76f09557067ad3520873e8e050d508f7251a2a8d35b7c06b2afef5560938
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
module Unit
|
2
|
+
class AchCounterparty < APIResource
|
3
|
+
path '/counterparties'
|
4
|
+
|
5
|
+
attribute :idempotency_key, Types::String # Optional
|
6
|
+
attribute :tags, Types::Hash # Optional
|
7
|
+
|
8
|
+
attribute :name, Types::String # Name of the account holder
|
9
|
+
attribute :created_at, Types::DateTime
|
10
|
+
attribute :routing_number, Types::String # Routing number of account.
|
11
|
+
attribute :account_number, Types::String # Account number, together with the routingNumber forms the identifier of the account on the ACH network.
|
12
|
+
attribute :account_type, Types::String # Account type, either Checking, Savings or Loan. Default is Checking.
|
13
|
+
attribute :type, Types::String # Type of the counterparty, either Business, Person or Unknown.
|
14
|
+
|
15
|
+
belongs_to :customer, class_name: 'Unit::IndividualCustomer'
|
16
|
+
|
17
|
+
include ResourceOperations::List
|
18
|
+
include ResourceOperations::Create
|
19
|
+
include ResourceOperations::Save
|
20
|
+
include ResourceOperations::Find
|
21
|
+
end
|
22
|
+
end
|
data/lib/unit-ruby/version.rb
CHANGED
data/lib/unit-ruby.rb
CHANGED
@@ -24,6 +24,7 @@ require 'unit-ruby/ach_payment'
|
|
24
24
|
require 'unit-ruby/application_form'
|
25
25
|
require 'unit-ruby/atm_location'
|
26
26
|
require 'unit-ruby/authorization'
|
27
|
+
require 'unit-ruby/ach_counterparty'
|
27
28
|
require 'unit-ruby/customer_token_verification'
|
28
29
|
require 'unit-ruby/customer_token'
|
29
30
|
require 'unit-ruby/deposit_account'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unit-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chloe Isacke
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -166,6 +166,7 @@ files:
|
|
166
166
|
- bin/console
|
167
167
|
- bin/setup
|
168
168
|
- lib/unit-ruby.rb
|
169
|
+
- lib/unit-ruby/ach_counterparty.rb
|
169
170
|
- lib/unit-ruby/ach_payment.rb
|
170
171
|
- lib/unit-ruby/application_form.rb
|
171
172
|
- lib/unit-ruby/atm_location.rb
|
@@ -229,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
230
|
- !ruby/object:Gem::Version
|
230
231
|
version: '0'
|
231
232
|
requirements: []
|
232
|
-
rubygems_version: 3.
|
233
|
+
rubygems_version: 3.2.3
|
233
234
|
signing_key:
|
234
235
|
specification_version: 4
|
235
236
|
summary: A Ruby gem for communicating with the Unit API.
|