instant_quote 1.7.8 → 1.7.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a68d10d20e17f32e18921fae70cd7dfeb606e71e2801e809269c148bfe35c513
4
- data.tar.gz: fbe659e1e32f5cbc7fd98ab6db37601fd3215b6c866f23119588e4a83d604509
3
+ metadata.gz: 020136bd81726c4c518ce0bc6aa07bfb91b8b8e9f0303dce318122e07935ff22
4
+ data.tar.gz: c75a46be6ec8041c6d906ba668ef85eb582fea9f4ac0da5c849a817588d97061
5
5
  SHA512:
6
- metadata.gz: e5f3a8834baabc3c81107e5c31a982b761ac0af4fe9e07149c1cfa2c494060dbed29a42de225dabe0072867f2782efac2e10521a97ef7f89f19c19c7859845c1
7
- data.tar.gz: 06f335e1b72643023c5673a0bc7d0542ff8b03e32dda660db4d49a673933c3ccbef9cd9f3b05ef6100c68552797ffb27ec15953b4418678167b1ee1c008b6ce6
6
+ metadata.gz: 786214591b9250b2cda9fc3a455d1f0e965abc40186e393ca1e20099724ebd3402ff5696065b2a744197c44909947a4f792f2732a7ddada9419648b1db3b7641
7
+ data.tar.gz: 8cebf1be41fa00a3d7b9d25e0cb772ea072fb9a19e0c228b133da971992ba1bd216263bb6b33729ce220427486e5a99fb4b0b4d21791d9620d01bce42dcfabe5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- instant_quote (1.7.8)
4
+ instant_quote (1.7.9)
5
5
  activesupport
6
6
  capital_on_tap
7
7
  iwoca
@@ -18,6 +18,8 @@ module InstantQuote
18
18
  # }
19
19
  class Youlend < DecisionParser
20
20
  def approved?
21
+ return false unless status_hash[:loanOptions]
22
+
21
23
  status_hash[:loanOptions].any? && !funded_option.empty?
22
24
  end
23
25
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InstantQuote
4
- VERSION = '1.7.8'
4
+ VERSION = '1.7.9'
5
5
  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.8
4
+ version: 1.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-26 00:00:00.000000000 Z
11
+ date: 2021-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler