intacctrb 0.7.1 → 0.7.2

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: b405d92d79c9b5dee14663151b0c59cceab240418c23405329ca66f42fb10753
4
- data.tar.gz: 9a408b47580eef6076499cc1c4d33b52f3e826dc849d031cae29e70c26ed1d25
3
+ metadata.gz: 72b37f9b4554f88fa7478e36d3fc38acbc30cf1ce68369c6a108b917f1844822
4
+ data.tar.gz: f13dcaedfc52b5481abc779e3d37442d3051af3afeb1df6d1692077f2200a658
5
5
  SHA512:
6
- metadata.gz: 52007882371e6c439fd8a8256136d146706e97ca8c5cda667f286bad0e66e617b5d615c71901498d2f9859c010cdbb8ca8649d7debf8b4e58e67cffc0215ca2b
7
- data.tar.gz: 5ae85eca72904fa79f206ec62f8f8aca4ad9f1c9266abca5275ae3339e24db79027b1021feeba67b99aaef18acd74eb91b81661635e8bde17da5c6b0b46a69b8
6
+ metadata.gz: 229ef06d0c3af5cb4d4265e72fdc93f852ef0786c2263db5ea804053ad4b3ae2cda934c0eeb9f91239865679b9cafa072bb4ec7231a83d6d14f702442e543f21
7
+ data.tar.gz: bc084fcc284a36269bf847b321ad4889d43ccd9275db62f4195d1431a19bd3d2d7e665573b2db986d9bfce17b0ea0cb99ff317f46cbb5a591b3b197e7f5dfc56
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- intacctrb (0.7.1)
4
+ intacctrb (0.7.2)
5
5
  hooks
6
6
  nokogiri
7
7
 
@@ -9,6 +9,15 @@ module IntacctRB
9
9
  }
10
10
  end
11
11
 
12
+ if successful?
13
+ data = OpenStruct.new({
14
+ id: response.at("//EMPLOYEE/RECORDNO").try(:content),
15
+ name: response.at("//EMPLOYEE/PERSONALINFO/CONTACTNAME").try(:content),
16
+ contact_id: response.at("//EMPLOYEE/CONTACTKEY").try(:content),
17
+ employee_id: response.at("//EMPLOYEE/EMPLOYEEID").try(:content)
18
+ })
19
+ end
20
+
12
21
  return_result(response)
13
22
  end
14
23
 
@@ -1,3 +1,3 @@
1
1
  module IntacctRB
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Hale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-25 00:00:00.000000000 Z
11
+ date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri