intacctrb 0.8.21 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/intacctrb/base.rb +8 -2
- data/lib/intacctrb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6498b6d259ccbda28488b170575d0177d6a8f4a0
|
4
|
+
data.tar.gz: fcc91ed56cb41b028dfe7b41b87e2d4757bc0f82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 186ed00fa3f3d97347559181799bba79835d0bae4820fb43c42e894d7129537ab453c9d0de539bc3c3eaff77efdd15ba8f2ea25f213622af446f7870012dbe38
|
7
|
+
data.tar.gz: fe18ee99d3e7a53b4fc428444492e5eb00921fba150f5dae97da858e2099d83c5b3ed4cf43513e1dfe612b080c2463cdd8c40fc3a1c1cab80082a65a7ff261c4
|
data/lib/intacctrb/base.rb
CHANGED
@@ -66,7 +66,7 @@ module IntacctRB
|
|
66
66
|
url = "https://www.intacct.com/ia/xml/xmlgw.phtml"
|
67
67
|
uri = URI(url)
|
68
68
|
retry_count += 1
|
69
|
-
res = Net::HTTP.post_form(uri, 'xmlrequest' => xml, read_timeout:
|
69
|
+
res = Net::HTTP.post_form(uri, 'xmlrequest' => xml, read_timeout: 60)
|
70
70
|
@response = Nokogiri::XML(res.body)
|
71
71
|
IntacctRB.logger.debug res.body
|
72
72
|
if successful?
|
@@ -88,7 +88,13 @@ module IntacctRB
|
|
88
88
|
retry
|
89
89
|
else
|
90
90
|
IntacctRB.logger.error "Net::ReadTimeout in IntacctRB; retries exhausted"
|
91
|
-
|
91
|
+
@response = {
|
92
|
+
result: {
|
93
|
+
errormessage: {
|
94
|
+
error: [{ description: e }]
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
92
98
|
end
|
93
99
|
end
|
94
100
|
end
|
data/lib/intacctrb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intacctrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Hale
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
|
-
rubygems_version: 2.
|
222
|
+
rubygems_version: 2.6.14
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: Ruby Intacct API Client
|