tufy 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/tufy/build_account_segment.rb +0 -4
- data/lib/tufy/fields/account/build_cash_advance_balance_field.rb +5 -3
- data/lib/tufy/fields/account/build_fresh_cash_advance_field.rb +5 -3
- data/lib/tufy/fields/account/build_partial_payment_field.rb +5 -3
- data/lib/tufy/fields/account/build_unbilled_balance_field.rb +5 -3
- data/lib/tufy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 673fb6de3058724fa7ade8921263bfbc8501777d
|
4
|
+
data.tar.gz: 55f6f30f18b8c0e7837e76fa183de304077e8fc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31e747d42e48a4764ffc7621b3c1b641622ee660d75c32c319a717cf27c72f55668a09050e14614a88aa45725e8332e391f74468020fade47264f75b95378c16
|
7
|
+
data.tar.gz: 4b9dd23a12cb12bec37f1e5543796f56eb171ab677605a95d3bc0b6e5159fdea6c0dddc05148ae986d1605d4fe523363836a340a230adf1298a2206a5a10a7c4
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# v0.0.8
|
2
|
+
|
3
|
+
- PARTIAL PAYMENT is now an optional field
|
4
|
+
- FRESH CASH ADVANCE is now an optional field
|
5
|
+
- UNBILLED_BALANCE is now an optional field
|
6
|
+
- CASH_ADVANCE_BALANCE is now an optional field
|
7
|
+
|
1
8
|
# v0.0.7
|
2
9
|
|
3
10
|
- Refactor each BuildSegment actions to be LightService::Organizers
|
@@ -16,8 +16,6 @@ module Tufy
|
|
16
16
|
:shared_by,
|
17
17
|
:outstanding_balance,
|
18
18
|
:interest_and_fees,
|
19
|
-
:unbilled_balance,
|
20
|
-
:cash_advance_balance,
|
21
19
|
:number_of_days_past_due,
|
22
20
|
:past_due_amount,
|
23
21
|
:installment_amount,
|
@@ -26,8 +24,6 @@ module Tufy
|
|
26
24
|
:expiry_date,
|
27
25
|
:consumer_or_commercial,
|
28
26
|
:legal_action,
|
29
|
-
:partial_payment,
|
30
|
-
:fresh_cash_advance,
|
31
27
|
]
|
32
28
|
|
33
29
|
executed do |ctx|
|
@@ -6,9 +6,11 @@ module Tufy
|
|
6
6
|
promises :transformed_data
|
7
7
|
|
8
8
|
executed do |ctx|
|
9
|
-
ctx.
|
10
|
-
ctx.transformed_data
|
11
|
-
|
9
|
+
if ctx.raw_data[:cash_advance_balance]
|
10
|
+
ctx.transformed_data =
|
11
|
+
ctx.transformed_data +
|
12
|
+
transform(ctx).upcase
|
13
|
+
end
|
12
14
|
end
|
13
15
|
|
14
16
|
private
|
@@ -6,9 +6,11 @@ module Tufy
|
|
6
6
|
promises :transformed_data
|
7
7
|
|
8
8
|
executed do |ctx|
|
9
|
-
ctx.
|
10
|
-
ctx.transformed_data
|
11
|
-
|
9
|
+
if ctx.raw_data[:fresh_cash_advance]
|
10
|
+
ctx.transformed_data =
|
11
|
+
ctx.transformed_data +
|
12
|
+
transform(ctx).upcase
|
13
|
+
end
|
12
14
|
end
|
13
15
|
|
14
16
|
private
|
@@ -6,9 +6,11 @@ module Tufy
|
|
6
6
|
promises :transformed_data
|
7
7
|
|
8
8
|
executed do |ctx|
|
9
|
-
ctx.
|
10
|
-
ctx.transformed_data
|
11
|
-
|
9
|
+
if ctx.raw_data[:partial_payment]
|
10
|
+
ctx.transformed_data =
|
11
|
+
ctx.transformed_data +
|
12
|
+
transform(ctx).upcase
|
13
|
+
end
|
12
14
|
end
|
13
15
|
|
14
16
|
private
|
@@ -6,9 +6,11 @@ module Tufy
|
|
6
6
|
promises :transformed_data
|
7
7
|
|
8
8
|
executed do |ctx|
|
9
|
-
ctx.
|
10
|
-
ctx.transformed_data
|
11
|
-
|
9
|
+
if ctx.raw_data[:unbilled_balance]
|
10
|
+
ctx.transformed_data =
|
11
|
+
ctx.transformed_data +
|
12
|
+
transform(ctx).upcase
|
13
|
+
end
|
12
14
|
end
|
13
15
|
|
14
16
|
private
|
data/lib/tufy/version.rb
CHANGED