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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40e6853f18c626e65e80304e8136701347c69e77b1f3a847a616e8ac5695ec2a
4
- data.tar.gz: b3debed74f1f43a874c804b42d6c843346d97bb8f79c7fdee679c729172c9907
3
+ metadata.gz: a8b64df9a31fdd3c810df311da8eddd6e2a8c9e87c451a0fe4740ff59899e70c
4
+ data.tar.gz: 49075cc7731806d73604e28f5756af7fbfbf1680f1246db21a5848c01812577e
5
5
  SHA512:
6
- metadata.gz: 7fdac7147fdc333044c1bb07f765d739ddccf3d47a169ea8987a49e9ca2342634b9a547bbf3c569e938aaddf661a4395ffe58f43c66488d6151016cbbd16b7e4
7
- data.tar.gz: 4e50d0b332986d09a0093efd0c3c2c10d0712ad75d97a22938411c197616babceeb5bcb94cf6b36a2fa058808f1a889d74c4fc87074cdaf861299c0b3e5ab738
6
+ metadata.gz: 0c297c6d181f7996e03423e596e7af7928942d54cf1be2c20021873bb1444a56e4507741715050e1b08f6ea82631bb429c7244b56a439ab83cffe35362a9368a
7
+ data.tar.gz: 766af35706eda96d787477ed6bbcfa7e79bc2c10364df39ff6bcf949590a43f20dc1fe0cad619a73384914d079b12020665f565a58042215b3578bb26772a180
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unit-ruby (0.6.0)
4
+ unit-ruby (0.8.0)
5
5
  activesupport (>= 6.1.5, < 7.1.0)
6
6
  faraday (~> 1.8.0)
7
7
  faraday_middleware (~> 1.0.0)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Unit
2
- VERSION = '0.7.0'
2
+ VERSION = '0.8.0'
3
3
  end
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.7.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-10-08 00:00:00.000000000 Z
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