smstraffic 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddee4c65ffc196512fc9bc85516dc8a5553e771c
4
- data.tar.gz: bc5693ed526ec602dd624a8d0fb417494a4b665d
3
+ metadata.gz: 44d9274ae4654b936ad8416e29f21563293b85e0
4
+ data.tar.gz: 5eace1d0492aa835eadbc8441d2449e3dcb262b8
5
5
  SHA512:
6
- metadata.gz: 2b8894959e656d5752a0b0f427eac76e95b9ca9479ff834317637bc80706bdb59a9faf270ca996e872be8a2ef6e1a8fd365ba26c5623410938f0751430b4aa2b
7
- data.tar.gz: 741c6932baa618044b1c816247fa0e4e1a365f2cdf1d834009019eee0f9854c6efcb3ef5fff0cc397801e2c585b9499d39d6591f17531f29281af6bf3cbe309a
6
+ metadata.gz: 8d1580581be01defede5116b72b5c9c92ae5b72683fde6d35d2497dcbd3b4c1b0348810092b24342da287bfbcc6050ffad3240c2681f35cf26291dcc664dc1bd
7
+ data.tar.gz: 200c236389000cdcc4a8087fbc75ec457f9b86f51f3b682f543bd276894b9fbd3724cd075519c2fdc1b05ef33cc720521577c4bda2452e47320341a44e30b99e
@@ -23,7 +23,7 @@ module Smstraffic
23
23
  @@login = settings[:login]
24
24
  @@password = settings[:password]
25
25
  @@server = settings[:server]
26
- @@routeGroupID = settings[:routeGroupID]
26
+ @@routeGroupId = settings[:routeGroupId]
27
27
  @@port = 80
28
28
  @@ssl_port = 443
29
29
  @@ssl = !settings[:ssl].nil? ? settings[:ssl] : true # connect using ssl by default
@@ -153,7 +153,7 @@ module Smstraffic
153
153
 
154
154
  def send_url
155
155
  message, rus = @translit ? [Russian.translit(@message), 0] : [@message, 1]
156
- "/smartdelivery"+"-in/multi.php?login=#{@@login}&password=#{@@password}&phones=#{@phone}&message=#{URI.encode(message)}&want_sms_ids=1&routeGroupID=#{@@routeGroupID}&rus=#{rus}"
156
+ "/smartdelivery"+"-in/multi.php?login=#{@@login}&password=#{@@password}&phones=#{@phone}&message=#{URI.encode(message)}&want_sms_ids=1&routeGroupId=#{@@routeGroupID}&rus=#{rus}"
157
157
  end
158
158
 
159
159
  def self.status_url(msg_id)
@@ -1,3 +1,3 @@
1
1
  module Smstraffic
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smstraffic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neodelf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-10 00:00:00.000000000 Z
11
+ date: 2015-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler