kth-sms 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kth/sms.rb +2 -2
- data/lib/kth/sms/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: 33f3ef9f2e3daf2c53b76f6543bb18f50785edb3
|
4
|
+
data.tar.gz: 36994fa800fa18fd9199e77a2510e07a6611a4a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd3d38e62f0a04d9997d1b38f0e26fc2ea8737b8f426a7443415eab0826f2b038333fe1c777967083c0a946795c487553347726479d860d1dc56b573d7fa4916
|
7
|
+
data.tar.gz: 369a94f83d6194143c88b7f95ce4f19924522dedf7a44f7df0fd7d6fe7fdac49d52fa6c53eed46f6e79544a3bbee3e7af5783d341ca904e3935fb245648f3679
|
data/lib/kth/sms.rb
CHANGED
@@ -119,7 +119,7 @@ module Kth
|
|
119
119
|
conn = Faraday.new(BASE_URL)
|
120
120
|
res = conn.post do |req|
|
121
121
|
req.url url
|
122
|
-
req.headers[::CaseSensitiveString.new('x-waple-authorization')] = key
|
122
|
+
req.headers[Kth::Sms::CaseSensitiveString.new('x-waple-authorization')] = key
|
123
123
|
req.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'
|
124
124
|
req.body = params
|
125
125
|
end
|
@@ -131,7 +131,7 @@ module Kth
|
|
131
131
|
conn = Faraday.new(BASE_URL)
|
132
132
|
res = conn.get do |req|
|
133
133
|
req.url url
|
134
|
-
req.headers[::CaseSensitiveString.new('x-waple-authorization')] = key
|
134
|
+
req.headers[Kth::Sms::CaseSensitiveString.new('x-waple-authorization')] = key
|
135
135
|
req.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'
|
136
136
|
end
|
137
137
|
|
data/lib/kth/sms/version.rb
CHANGED