unit-ruby 0.7.0 → 0.8.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/received_payment.rb +30 -0
- data/lib/unit-ruby/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8b64df9a31fdd3c810df311da8eddd6e2a8c9e87c451a0fe4740ff59899e70c
|
4
|
+
data.tar.gz: 49075cc7731806d73604e28f5756af7fbfbf1680f1246db21a5848c01812577e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c297c6d181f7996e03423e596e7af7928942d54cf1be2c20021873bb1444a56e4507741715050e1b08f6ea82631bb429c7244b56a439ab83cffe35362a9368a
|
7
|
+
data.tar.gz: 766af35706eda96d787477ed6bbcfa7e79bc2c10364df39ff6bcf949590a43f20dc1fe0cad619a73384914d079b12020665f565a58042215b3578bb26772a180
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,30 @@
|
|
1
|
+
module Unit
|
2
|
+
class ReceivedPayment < APIResource
|
3
|
+
path '/received-payments'
|
4
|
+
|
5
|
+
attribute :status, Types::String, readonly: true
|
6
|
+
attribute :direction, Types::String, readonly: true
|
7
|
+
attribute :was_advanced, Types::Boolean, readonly: true
|
8
|
+
attribute :is_advanceable, Types::Boolean, readonly: true
|
9
|
+
attribute :amount, Types::Integer, readonly: true
|
10
|
+
attribute :return_reason, Types::String, readonly: true
|
11
|
+
attribute :ach_return_reason, Types::String, readonly: true
|
12
|
+
attribute :completion_date, Types::DateTime, readonly: true
|
13
|
+
attribute :company_name, Types::String, readonly: true
|
14
|
+
attribute :counterparty_routing_number, Types::String, readonly: true
|
15
|
+
attribute :description, Types::String, readonly: true
|
16
|
+
attribute :addenda, Types::String, readonly: true
|
17
|
+
attribute :trace_number, Types::String, readonly: true
|
18
|
+
attribute :sec_code, Types::String, readonly: true
|
19
|
+
attribute :receiving_entity_name, Types::String, readonly: true
|
20
|
+
attribute :tags, Types::Hash # Optional
|
21
|
+
|
22
|
+
attribute :created_at, Types::DateTime, readonly: true
|
23
|
+
|
24
|
+
belongs_to :account, class_name: 'Unit::DepositAccount'
|
25
|
+
belongs_to :customer, class_name: 'Unit::IndividualCustomer'
|
26
|
+
|
27
|
+
include ResourceOperations::Find
|
28
|
+
include ResourceOperations::List
|
29
|
+
end
|
30
|
+
end
|
data/lib/unit-ruby/version.rb
CHANGED
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.8.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-11-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -181,6 +181,7 @@ files:
|
|
181
181
|
- lib/unit-ruby/institution.rb
|
182
182
|
- lib/unit-ruby/outreach_settings.rb
|
183
183
|
- lib/unit-ruby/pin_status.rb
|
184
|
+
- lib/unit-ruby/received_payment.rb
|
184
185
|
- lib/unit-ruby/statement.rb
|
185
186
|
- lib/unit-ruby/transaction.rb
|
186
187
|
- lib/unit-ruby/types/account_limits.rb
|