lib/intacctrb/employee.rb in intacctrb-0.6.1 vs lib/intacctrb/employee.rb in intacctrb-0.6.2
- old
+ new
@@ -32,10 +32,11 @@
if successful?
@data = OpenStruct.new({
id: response.at("//EMPLOYEE/RECORDNO").content,
name: response.at("//EMPLOYEE/PERSONALINFO/CONTACTNAME").content,
- contact_id: response.at("//EMPLOYEE/CONTACTKEY").content
+ contact_id: response.at("//EMPLOYEE/CONTACTKEY").content,
+ employee_id: response.at("//EMPLOYEE/EMPLOYEEID").content
})
end
successful?
end