kth-sms 0.1.2 → 0.1.3

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: 8f47dfeaf9ddc1a052746fdcca20d092c0f3d084
4
- data.tar.gz: 4836c3a1cfd15c43103f4c9bea232f75ccfc680b
3
+ metadata.gz: c9d43cd9ee860a0350d0565e8bcdb413e043ff3c
4
+ data.tar.gz: c59b844031e68c8d064a9c76e049a5c8bcf474b2
5
5
  SHA512:
6
- metadata.gz: f5da084c6ab15f14a4300ac7828531ef120ea230bb4cd6ebd78139c89ae09f66f17a0af471516bf0fe1eac198b23fe3f341f50e36767ffbabcbfccd89e0ce4ea
7
- data.tar.gz: d9c209c7a42426eb413aca2b9e4dc2eb9214b4dc881e0a9d148cafcc702ed6717946378031ca0ca9c0abb723e0616e3a4ad7282c9a7ab0d3bb023834d9cc269b
6
+ metadata.gz: 9a74f60f2380b086a990a003cd0c58afb4543eae687c8e950899a32a594b57bbd44552f6cf9fb959502d829008761fe4be04ac06931a894a404ca44754ea79ee
7
+ data.tar.gz: 93f9c8961699d3bc3254f28fdf096eda983a9fd1a99eb7ce84cfc9b33c53b2503ac6df8a3d9b1ba689d900312c74e9f52c5aa0ef8780a5a5f8542eb159cbc34e
@@ -1,5 +1,5 @@
1
1
  module Kth
2
2
  module Sms
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
data/lib/kth/sms.rb CHANGED
@@ -1,5 +1,5 @@
1
- require "kth/sms/version"
2
- require "kth/case_sensitive_string"
1
+ require 'kth/sms/version'
2
+ require 'kth/case_sensitive_string'
3
3
 
4
4
  module Kth
5
5
  module Sms
@@ -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[Kth::Sms::CaseSensitiveString.new('x-waple-authorization')] = key
122
+ req.headers[::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[Kth::Sms::CaseSensitiveString.new('x-waple-authorization')] = key
134
+ req.headers[::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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kth-sms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyoungwon Lee