instant_quote 1.7.15 → 1.7.16
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 +2 -2
- data/lib/instant_quote/adapters/fake.rb +1 -0
- data/lib/instant_quote/adapters/iwoca_flexi24.rb +26 -0
- data/lib/instant_quote/connection_translators/iwoca_flexi24.rb +19 -0
- data/lib/instant_quote/decision_parsers/iwoca_flexi24.rb +10 -0
- data/lib/instant_quote/version.rb +1 -1
- metadata +9 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acdaa446c571a459720043e39a83733934473faacdf7dba0064023a699374023
|
|
4
|
+
data.tar.gz: ea26eea92d58bb78f67ce72f9674d44cfcf05fe32d2bff3fbfe5f4362d6c9a1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c96040bbc39fb07d74b0cc35805a98323b45f150707b7d8231ec310db4045fe3413e62bca706efe7ef4baddbb8840b90ed6ee6829c85863c7674d50e98c848b
|
|
7
|
+
data.tar.gz: 3f21e224c209f4ab9e9f1576f1a889684e8d05097760ca37f58c85ef07a41d3966e3a45332d4bf49a5a4e14c363eb0bf74e7eb4b93ce77eb1286a43b374d8951
|
data/Gemfile.lock
CHANGED
|
@@ -36,6 +36,7 @@ module InstantQuote
|
|
|
36
36
|
'Iwoca CBILS' => 'iwoca_cbils',
|
|
37
37
|
'Iwoca Recovery Loans' => 'iwoca_recovery_loans',
|
|
38
38
|
'Iwoca Revenue Based Loans' => 'iwoca_revenue_based_loans',
|
|
39
|
+
'Iwoca Flexi24' => 'iwoca_flexi24',
|
|
39
40
|
'Capital on tap' => 'capital_on_tap',
|
|
40
41
|
'Optimum' => 'optimum',
|
|
41
42
|
'Youlend' => 'youlend'
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'iwoca'
|
|
4
|
+
require 'instant_quote/adapters/iwoca'
|
|
5
|
+
require 'instant_quote/decision_parsers/iwoca_flexi24'
|
|
6
|
+
|
|
7
|
+
module InstantQuote
|
|
8
|
+
module Adapters
|
|
9
|
+
class IwocaFlexi24 < Iwoca
|
|
10
|
+
additional_fields Iwoca.additional_fields
|
|
11
|
+
|
|
12
|
+
# As a result of this we are
|
|
13
|
+
# asking that you do not call the /approval_request/ endpoint after submitting
|
|
14
|
+
# your customer's data to /state/.
|
|
15
|
+
def get_approval(_state_key, _connection)
|
|
16
|
+
true
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
private
|
|
20
|
+
|
|
21
|
+
def decision_parser
|
|
22
|
+
DecisionParsers::IwocaFlexi24
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'instant_quote/connection_translators/iwoca'
|
|
4
|
+
|
|
5
|
+
module InstantQuote
|
|
6
|
+
module ConnectionTranslators
|
|
7
|
+
class IwocaFlexi24 < Iwoca
|
|
8
|
+
private
|
|
9
|
+
|
|
10
|
+
def product_name
|
|
11
|
+
:flexi24
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def duration
|
|
15
|
+
24
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
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.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rikas
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -274,6 +274,7 @@ files:
|
|
|
274
274
|
- lib/instant_quote/adapters/fake.rb
|
|
275
275
|
- lib/instant_quote/adapters/iwoca.rb
|
|
276
276
|
- lib/instant_quote/adapters/iwoca_cbils.rb
|
|
277
|
+
- lib/instant_quote/adapters/iwoca_flexi24.rb
|
|
277
278
|
- lib/instant_quote/adapters/iwoca_recovery_loans.rb
|
|
278
279
|
- lib/instant_quote/adapters/iwoca_revenue_based_loans.rb
|
|
279
280
|
- lib/instant_quote/adapters/optimum.rb
|
|
@@ -284,6 +285,7 @@ files:
|
|
|
284
285
|
- lib/instant_quote/connection_translators/fake.rb
|
|
285
286
|
- lib/instant_quote/connection_translators/iwoca.rb
|
|
286
287
|
- lib/instant_quote/connection_translators/iwoca_cbils.rb
|
|
288
|
+
- lib/instant_quote/connection_translators/iwoca_flexi24.rb
|
|
287
289
|
- lib/instant_quote/connection_translators/iwoca_recovery_loans.rb
|
|
288
290
|
- lib/instant_quote/connection_translators/iwoca_revenue_based_loans.rb
|
|
289
291
|
- lib/instant_quote/connection_translators/optimum.rb
|
|
@@ -293,6 +295,7 @@ files:
|
|
|
293
295
|
- lib/instant_quote/decision_parsers/fake.rb
|
|
294
296
|
- lib/instant_quote/decision_parsers/iwoca.rb
|
|
295
297
|
- lib/instant_quote/decision_parsers/iwoca_cbils.rb
|
|
298
|
+
- lib/instant_quote/decision_parsers/iwoca_flexi24.rb
|
|
296
299
|
- lib/instant_quote/decision_parsers/iwoca_recovery_loans.rb
|
|
297
300
|
- lib/instant_quote/decision_parsers/iwoca_revenue_based_loans.rb
|
|
298
301
|
- lib/instant_quote/decision_parsers/optimum.rb
|
|
@@ -303,7 +306,7 @@ homepage: https://finpoint.co.uk
|
|
|
303
306
|
licenses: []
|
|
304
307
|
metadata:
|
|
305
308
|
homepage_uri: https://finpoint.co.uk
|
|
306
|
-
post_install_message:
|
|
309
|
+
post_install_message:
|
|
307
310
|
rdoc_options: []
|
|
308
311
|
require_paths:
|
|
309
312
|
- lib
|
|
@@ -318,8 +321,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
318
321
|
- !ruby/object:Gem::Version
|
|
319
322
|
version: '0'
|
|
320
323
|
requirements: []
|
|
321
|
-
rubygems_version: 3.
|
|
322
|
-
signing_key:
|
|
324
|
+
rubygems_version: 3.0.6
|
|
325
|
+
signing_key:
|
|
323
326
|
specification_version: 4
|
|
324
327
|
summary: Instant quote providers gem.
|
|
325
328
|
test_files: []
|