magti 0.1.0.beta4 → 0.1.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/magti/sms.rb +1 -1
- data/lib/magti/version.rb +1 -1
- metadata +1 -1
data/lib/magti/sms.rb
CHANGED
@@ -25,7 +25,7 @@ module Magti
|
|
25
25
|
raise ArgumentError, 'specify Magti.config(options) with :username, :password, :client and :service keys'
|
26
26
|
end
|
27
27
|
options = options.merge(:to => "995#{mobile}", :text => text)
|
28
|
-
http_resp = HTTParty.get(Magti::SMS_SEND_URL, options)
|
28
|
+
http_resp = HTTParty.get(Magti::SMS_SEND_URL, {:query => options})
|
29
29
|
resp = Response.new
|
30
30
|
resp.code, resp.id = http_resp.split(' - ')
|
31
31
|
resp
|
data/lib/magti/version.rb
CHANGED