Method: IntacctRB::Customer#delete
- Defined in:
- lib/intacctrb/customer.rb
#delete ⇒ Object
100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/intacctrb/customer.rb', line 100 def delete return false unless object.intacct_system_id.present? @response = send_xml('delete') do |xml| xml.function(controlid: "1") { xml.delete_customer(customerid: intacct_system_id) } end successful? end |