magti 0.1.0.beta4 → 0.1.0.beta5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/magti/sms.rb +1 -1
  2. data/lib/magti/version.rb +1 -1
  3. 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
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Magti
3
- VERSION = "0.1.0.beta4"
3
+ VERSION = "0.1.0.beta5"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.beta4
4
+ version: 0.1.0.beta5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: