intacctrb 0.9.4 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/intacctrb/base.rb +9 -3
- data/lib/intacctrb/employee.rb +1 -1
- data/lib/intacctrb/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad999b30a2be475fd79922ae8bcadf92d000ef9f5cac7faeda43a9dfa4a02f5f
|
4
|
+
data.tar.gz: 6135bb824bb01c3b99f525265789eaa7740860ee6a0645c1554287a2c35ef81c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13592ba5969f410f705572d22e84d0fa248b79631636c2a11bd03c3e193c922598b84d8a591ab134bde57b8ba7c5f3d79fbe3e378c745ada9bab374d38d64bb9
|
7
|
+
data.tar.gz: 0e0f9b6d26844a6765274de37871e05ecf3a1f95995b45f801e28a205872cb654e148a03bd9a34741de0a5179cc23a5c1b11cd926d76ca8cc4a899ff8108d24e
|
data/lib/intacctrb/base.rb
CHANGED
@@ -66,9 +66,15 @@ module IntacctRB
|
|
66
66
|
url = "https://www.intacct.com/ia/xml/xmlgw.phtml"
|
67
67
|
uri = URI(url)
|
68
68
|
retry_count += 1
|
69
|
-
|
70
|
-
|
71
|
-
|
69
|
+
|
70
|
+
post_request = Net::HTTP::Post.new(uri.request_uri)
|
71
|
+
post_request.set_form_data('xmlrequest' => xml)
|
72
|
+
|
73
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
74
|
+
http.use_ssl = true
|
75
|
+
http.read_timeout = 300
|
76
|
+
res = http.request(post_request)
|
77
|
+
|
72
78
|
@response = Nokogiri::XML(res.body)
|
73
79
|
IntacctRB.logger.debug res.body
|
74
80
|
if successful?
|
data/lib/intacctrb/employee.rb
CHANGED
@@ -92,7 +92,7 @@ module IntacctRB
|
|
92
92
|
|
93
93
|
response = send_xml('get_list') do |xml|
|
94
94
|
xml.function(controlid: "f4") {
|
95
|
-
xml.get_list(object: "employee", maxitems: "
|
95
|
+
xml.get_list(object: "employee", maxitems: "2000", showprivate:"false") {
|
96
96
|
# xml.fields {
|
97
97
|
# fields.each do |field|
|
98
98
|
# xml.field field.to_s
|
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.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Hale
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -202,7 +202,7 @@ files:
|
|
202
202
|
homepage: https://github.com/apexdp/intacctrb
|
203
203
|
licenses: []
|
204
204
|
metadata: {}
|
205
|
-
post_install_message:
|
205
|
+
post_install_message:
|
206
206
|
rdoc_options: []
|
207
207
|
require_paths:
|
208
208
|
- lib
|
@@ -217,9 +217,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
217
|
- !ruby/object:Gem::Version
|
218
218
|
version: '0'
|
219
219
|
requirements: []
|
220
|
-
|
221
|
-
|
222
|
-
signing_key:
|
220
|
+
rubygems_version: 3.1.6
|
221
|
+
signing_key:
|
223
222
|
specification_version: 4
|
224
223
|
summary: Ruby Intacct API Client
|
225
224
|
test_files:
|