lib/intacctrb/journal_entry.rb in intacctrb-0.6.2 vs lib/intacctrb/journal_entry.rb in intacctrb-0.6.3
- old
+ new
@@ -11,11 +11,11 @@
}
}
}
end
- successful?
+ return_result(response)
end
def update
return false unless object.intacct_id.present?
send_xml('update') do |xml|
@@ -26,11 +26,11 @@
}
}
}
end
- successful?
+ return_result(response)
end
# def delete
# # return false unless object.payment.intacct_system_id.present?
# send_xml('delete') do |xml|
@@ -189,8 +189,7 @@
date.strftime('%Y-%m-%d')
elsif date.is_a? String
date
end
end
-
end
end