instant_quote 1.7.30 → 1.7.32
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/decision_parsers/iwoca.rb +7 -2
- data/lib/instant_quote/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b89114408b133206dcb9136cccad24a21ed90b1b239b2324c233e4d1aff84e3e
|
4
|
+
data.tar.gz: 55eda56d1077300fc64b3404eabb8fe05b0bd738bbe683bd82ea178bb7e51b5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38b94dfd0b8edef75403c5456e42e1b5724d9dd1fbc1c1868d4d21936da662071ee6eb61072c9e649a68ec45e5e766cb639b96e15ee9bcd0355416005969e37c
|
7
|
+
data.tar.gz: 1c358d5ff8e0eecee9cd108c8a590e44a167631db8d43357eb3ea28a10cd3330aae0d89dfdb30a3e46f1b2b459be17eafbd425ceae88ec28db97bba8bb6058b9
|
data/Gemfile.lock
CHANGED
@@ -109,8 +109,13 @@ module InstantQuote
|
|
109
109
|
end
|
110
110
|
|
111
111
|
@status = @data[:status] if @data.key?(:status)
|
112
|
-
|
113
|
-
|
112
|
+
|
113
|
+
if @data.key?(:offers)
|
114
|
+
@offers = @data[:offers]
|
115
|
+
|
116
|
+
# For some reason sometimes the offers are nested in another key called 'offers'
|
117
|
+
@offers = @offers[:offers] if @offers.is_a?(Hash) && @offers.key?(:offers)
|
118
|
+
end
|
114
119
|
end
|
115
120
|
|
116
121
|
def pending?
|