lib/beeiq_api/ticket.rb in beeiq_api-0.1.1 vs lib/beeiq_api/ticket.rb in beeiq_api-0.2.0
- old
+ new
@@ -32,10 +32,10 @@
def payload
data = {
contactType: @contact_type,
title: @title,
- body: @body,
+ body: @body.to_s.gsub("\n", '<br>'),
email: @email,
phone: @phone,
name: @name,
passport: @passport,
contactId: @contact_id,