instant_quote 1.7.22 → 1.7.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/instant_quote/connection_translators/iwoca.rb +2 -12
- data/lib/instant_quote/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2a55ef0c8394b418534601643c4600bfe5eaf4557737024b5e7334f7bd31477
|
4
|
+
data.tar.gz: c3798041fd702fc7920e5973e575f5468176e17e2ac6f4e7e218d7bbb35ecc08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e44b61c39dd92c15df4208d2a1272ef57adb2e8eb010ddfbc9035d71b522520702c9ca4635069f5690c7d60c0e02f09ce271089e566eeb4e2c236e3069d4f892
|
7
|
+
data.tar.gz: d2ec83b794783ab108aa66532f37888b3793e8de1c7ccf3a84b7332a4546dbd253a7829d9c8c01e365daceb0d5f41fcb5cf5794ee576ad0e1b4acbf23debcacc
|
data/Gemfile.lock
CHANGED
@@ -8,13 +8,6 @@ module InstantQuote
|
|
8
8
|
data: {
|
9
9
|
company: company_information,
|
10
10
|
people: [person_information],
|
11
|
-
# requests: [
|
12
|
-
# amount: (application.amount_pennies / 100),
|
13
|
-
# duration: { amount: 12, unit: 'months' },
|
14
|
-
# purpose: application&.proceeds_purpose&.name,
|
15
|
-
# product_type: product_name,
|
16
|
-
# urgency: 'asap'
|
17
|
-
# ]
|
18
11
|
}
|
19
12
|
}
|
20
13
|
end
|
@@ -101,7 +94,7 @@ module InstantQuote
|
|
101
94
|
|
102
95
|
def person_information
|
103
96
|
{
|
104
|
-
|
97
|
+
uid: SecureRandom.uuid,
|
105
98
|
first_name: application.primary_user.first_name,
|
106
99
|
last_name: application.primary_user.last_name,
|
107
100
|
date_of_birth: extra_info['applicant_date_of_birth'],
|
@@ -111,14 +104,13 @@ module InstantQuote
|
|
111
104
|
residential_addresses: [person_residential_address],
|
112
105
|
privacy_policy: {
|
113
106
|
agreed: true,
|
114
|
-
|
107
|
+
valid_from: DateTime.current
|
115
108
|
}
|
116
109
|
}
|
117
110
|
end
|
118
111
|
|
119
112
|
def person_phone
|
120
113
|
{
|
121
|
-
# uid: SecureRandom.uuid,
|
122
114
|
number: extra_info['applicant_phone_number'],
|
123
115
|
type: 'primary'
|
124
116
|
}
|
@@ -126,7 +118,6 @@ module InstantQuote
|
|
126
118
|
|
127
119
|
def person_email
|
128
120
|
{
|
129
|
-
# uid: SecureRandom.uuid,
|
130
121
|
email: application&.primary_user&.email,
|
131
122
|
type: 'primary'
|
132
123
|
}
|
@@ -135,7 +126,6 @@ module InstantQuote
|
|
135
126
|
# rubocop:disable Naming/VariableNumber
|
136
127
|
def person_residential_address
|
137
128
|
{
|
138
|
-
# uid: SecureRandom.uuid,
|
139
129
|
town: extra_info['applicant_town'],
|
140
130
|
street_line_1: extra_info['applicant_address_line_1'],
|
141
131
|
street_line_2: extra_info['applicant_address_line_2'] || '',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instant_quote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rikas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|