sms_gate 0.1.3 → 0.1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sms_gate/adapters/sms_sluzba.rb +1 -3
- data/lib/sms_gate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4fa9c4402ff0d0c2fc5e588d59da20ef022df3d
|
4
|
+
data.tar.gz: 81ef2abea50b24bbe520fc8c79d7d1fb95169178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b60107c428b89e92e457c71595924b798378db58bb8e6cebf58ae20e396db2a1940de90eb927bb36ca18271041444be34709a8e76a76464472d134f87b5cb9e
|
7
|
+
data.tar.gz: 46371c433c92f86d1a174f3b883daa8671e0edb7f6f25f16c705c252097313c23ed0db34e3b689a529dab7562bf5b127598fcef7a27557fc2db029c044c6b484
|
@@ -3,7 +3,6 @@ module SmsGate
|
|
3
3
|
|
4
4
|
class SmsSluzba
|
5
5
|
require 'httparty'
|
6
|
-
require 'uri'
|
7
6
|
include HTTParty
|
8
7
|
base_uri 'https://smsgateapi.sluzba.cz'
|
9
8
|
|
@@ -22,8 +21,7 @@ module SmsGate
|
|
22
21
|
end
|
23
22
|
|
24
23
|
def send_sms(sms)
|
25
|
-
|
26
|
-
options = { act: 'send', msisdn: sms.to, msg: encoded_text, login: @params[:user], auth: sms_gate_auth_hash(encoded_text) }
|
24
|
+
options = { act: 'send', msisdn: sms.to, msg: sms.text, login: @params[:user], auth: sms_gate_auth_hash(sms.text) }
|
27
25
|
self.class.post('/apipost30/sms', query: options)
|
28
26
|
end
|
29
27
|
|
data/lib/sms_gate/version.rb
CHANGED