lib/intacctrb/employee.rb in intacctrb-0.8.9 vs lib/intacctrb/employee.rb in intacctrb-0.8.10
- old
+ new
@@ -9,13 +9,13 @@
}
end
if successful?
data = OpenStruct.new({
- id: response.at("//EMPLOYEE/RECORDNO").try(:content),
- name: response.at("//EMPLOYEE/PERSONALINFO/CONTACTNAME").try(:content),
- contact_id: response.at("//EMPLOYEE/CONTACTKEY").try(:content),
- employee_id: response.at("//EMPLOYEE/EMPLOYEEID").try(:content)
+ id: response.at("//RECORDNO").try(:content),
+ name: response.at("//PERSONALINFO/CONTACTNAME").try(:content),
+ contact_id: response.at("//CONTACTKEY").try(:content),
+ employee_id: response.at("//EMPLOYEEID").try(:content)
})
end
return_result(response, data)
end