unit-ruby 0.4.3 → 0.5.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/customer_bank_migration.rb +22 -0
- data/lib/unit-ruby/outreach_settings.rb +4 -0
- data/lib/unit-ruby/util/api_resource.rb +1 -1
- data/lib/unit-ruby/version.rb +1 -1
- data/lib/unit-ruby/white_label_theme.rb +4 -0
- data/lib/unit-ruby.rb +3 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 381281df1aa51e261c5f2bfbe14e8f02f72027c21e1980d50a9e6017e60eb580
|
4
|
+
data.tar.gz: 9f7b8802d809c1093b25733f5ea7f9b210f0f90784a02555818477c25edc23e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3f29ee34208973e78f263ab12146ae522c9a7131cd7bf023c8471b895ab07eac52884d3343c2e265d1a16aea559f020c835dad940961b5a3d912c2c99362c1e
|
7
|
+
data.tar.gz: 56fbb1fc0e0deb48854d315e1bb374a782a5078a4cb64c50528e4c5155c5769b257d603aa3e06ffddbe0a3e680c40d736ccb7b25165b62ee50c2e03c872e75c0
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
module Unit
|
2
|
+
class CustomerBankMigration < APIResource
|
3
|
+
path '/migrations'
|
4
|
+
|
5
|
+
attribute :from_bank, Types::String
|
6
|
+
attribute :to_bank, Types::String
|
7
|
+
attribute :idempotency_key, Types::String
|
8
|
+
attribute :deadline, Types::Date
|
9
|
+
attribute :balance_transfer_timing, Types::String # Optional. The timing of the balance transfer. Default is "NewAccountCreation"
|
10
|
+
attribute :status, Types::String, readonly: true
|
11
|
+
attribute :migration_url, Types::String, readonly: true
|
12
|
+
attribute :created_at, Types::DateTime, readonly: true
|
13
|
+
attribute :updated_at, Types::DateTime, readonly: true
|
14
|
+
|
15
|
+
belongs_to :customer, class_name: 'Unit::IndividualCustomer'
|
16
|
+
belongs_to :white_label_theme, class_name: 'Unit::WhiteLabelTheme'
|
17
|
+
belongs_to :outreach_settings, class_name: 'Unit::OutreachSettings'
|
18
|
+
|
19
|
+
include ResourceOperations::Create
|
20
|
+
include ResourceOperations::Find
|
21
|
+
end
|
22
|
+
end
|
data/lib/unit-ruby/version.rb
CHANGED
data/lib/unit-ruby.rb
CHANGED
@@ -31,10 +31,13 @@ require 'unit-ruby/individual_application'
|
|
31
31
|
require 'unit-ruby/individual_customer'
|
32
32
|
require 'unit-ruby/individual_debit_card'
|
33
33
|
require 'unit-ruby/institution'
|
34
|
+
require 'unit-ruby/customer_bank_migration'
|
35
|
+
require 'unit-ruby/outreach_settings'
|
34
36
|
require 'unit-ruby/pin_status'
|
35
37
|
require 'unit-ruby/statement'
|
36
38
|
require 'unit-ruby/transaction'
|
37
39
|
require 'unit-ruby/version'
|
40
|
+
require 'unit-ruby/white_label_theme'
|
38
41
|
|
39
42
|
module Unit
|
40
43
|
# Usage:
|
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.5.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-07-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- lib/unit-ruby/application_form.rb
|
171
171
|
- lib/unit-ruby/atm_location.rb
|
172
172
|
- lib/unit-ruby/authorization.rb
|
173
|
+
- lib/unit-ruby/customer_bank_migration.rb
|
173
174
|
- lib/unit-ruby/customer_token.rb
|
174
175
|
- lib/unit-ruby/customer_token_verification.rb
|
175
176
|
- lib/unit-ruby/deposit_account.rb
|
@@ -177,6 +178,7 @@ files:
|
|
177
178
|
- lib/unit-ruby/individual_customer.rb
|
178
179
|
- lib/unit-ruby/individual_debit_card.rb
|
179
180
|
- lib/unit-ruby/institution.rb
|
181
|
+
- lib/unit-ruby/outreach_settings.rb
|
180
182
|
- lib/unit-ruby/pin_status.rb
|
181
183
|
- lib/unit-ruby/statement.rb
|
182
184
|
- lib/unit-ruby/transaction.rb
|
@@ -201,6 +203,7 @@ files:
|
|
201
203
|
- lib/unit-ruby/util/resource_operations.rb
|
202
204
|
- lib/unit-ruby/util/schema.rb
|
203
205
|
- lib/unit-ruby/version.rb
|
206
|
+
- lib/unit-ruby/white_label_theme.rb
|
204
207
|
- unit-ruby.gemspec
|
205
208
|
homepage: https://github.com/retirable/unit-ruby
|
206
209
|
licenses:
|
@@ -226,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
229
|
- !ruby/object:Gem::Version
|
227
230
|
version: '0'
|
228
231
|
requirements: []
|
229
|
-
rubygems_version: 3.
|
232
|
+
rubygems_version: 3.4.10
|
230
233
|
signing_key:
|
231
234
|
specification_version: 4
|
232
235
|
summary: A Ruby gem for communicating with the Unit API.
|