esendex4soap 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/esendex4soap.gemspec +1 -1
- data/lib/esendex4soap.rb +1 -4
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.9
|
data/esendex4soap.gemspec
CHANGED
data/lib/esendex4soap.rb
CHANGED
@@ -27,10 +27,7 @@ module Esendex
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def send_message(recipient, text)
|
30
|
-
if text.size
|
31
|
-
@message_kind = 'Unicode'
|
32
|
-
sms(recipient, text.to_a)
|
33
|
-
elsif text.scan(/./mu).size == text.size
|
30
|
+
if text.scan(/./mu).size == text.size
|
34
31
|
sms_parts = text.scan(/.{610}/mu)
|
35
32
|
sms_parts << text[sms_parts.to_s.size..text.size]
|
36
33
|
@message_kind = 'Text'
|