trophonius 1.2.4.1 → 1.2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trophonius_query.rb +2 -2
- 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: 3938dd85580ae34b5085bbb05c1e20adc506522cde540f3edb8af4a1b902e5cb
|
4
|
+
data.tar.gz: e9e0520cd32790cf07fb90c074e90ef087403481f67e950559b579b800bf7526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42bae32f929cc8d8ff095147c54c836db4a8b2429b4166297529cde2dbf14dff68802a725f214284587ea84aef4c391b5ba579fbe49539184fbe419d960725bd
|
7
|
+
data.tar.gz: 3b04dcc00d655b555c65e4b96a1326a1da3c9f26ef711cff5fa95fda1d3e0c3aa5c69c3714d55dff0d65f78ffd9d2db88d11c71057c244693eac88373ed8634f
|
data/lib/trophonius_query.rb
CHANGED
@@ -136,8 +136,8 @@ module Trophonius
|
|
136
136
|
response = Request.make_request(url, "Bearer #{Request.get_token}", 'post', body)
|
137
137
|
if response['messages'][0]['code'] != '0'
|
138
138
|
if response['messages'][0]['code'] == '101' || response['messages'][0]['code'] == '401'
|
139
|
-
RecordSet.new(@trophonius_model.layout_name, @trophonius_model.non_modifiable_fields).send(method, *args, &block)
|
140
|
-
return
|
139
|
+
resp = RecordSet.new(@trophonius_model.layout_name, @trophonius_model.non_modifiable_fields).send(method, *args, &block)
|
140
|
+
return resp
|
141
141
|
else
|
142
142
|
if response['messages'][0]['code'] == '102'
|
143
143
|
results = Request.retrieve_first(@trophonius_model.layout_name)
|