class IntacctRuby::Functions::EmployeeBaseFunction
contains code shared by all employee functions
Private Instance Methods
employee_contact_params()
click to toggle source
# File lib/intacct_ruby/functions/employee_base_function.rb, line 31 def employee_contact_params contact_params(@attrs, @attrs[:employeeid], 'Employee') end
employee_params()
click to toggle source
# File lib/intacct_ruby/functions/employee_base_function.rb, line 14 def employee_params xml = Builder::XmlMarkup.new xml.locationid @attrs[:locationid] xml.supervisorid @attrs[:supervisorid] xml << start_date_params xml.status @attrs[:status] xml.personalinfo do xml << employee_contact_params end xml.target! end