lib/intacctrb/employee.rb in intacctrb-0.6.2 vs lib/intacctrb/employee.rb in intacctrb-0.6.3

- old
+ new

@@ -7,11 +7,11 @@ employee_xml(xml) } } end - successful? + return_result(response) end def get(options = {}) # return false unless object.intacct_id.present? @@ -85,11 +85,11 @@ employee_xml(xml) } } end - successful? + return_result(response) end def delete return false unless object.intacct_id.present? @@ -97,10 +97,10 @@ xml.function(controlid: "1") { xml.delete_employee(employeeid: intacct_id) } end - successful? + return_result(response) end def employee_xml xml xml.employee { xml.recordno if object.intacct_id