lib/smshelper/api/traitel.rb in smshelper-0.2.3 vs lib/smshelper/api/traitel.rb in smshelper-0.2.4
- old
+ new
@@ -12,9 +12,11 @@
def send_message(message)
if message.utf_8
message.to_hex_be
q = {:unicode => 'true'}
+ else
+ q = {}
end
options = {
:to => message.recipient,
:message => message.text,
:replyto => message.sender,