kth-alimtalk 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kth/alimtalk.rb +3 -3
- data/lib/kth/alimtalk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38bff4ac58c6d7dc8964ac6b7bd533fbf9880b3f
|
4
|
+
data.tar.gz: cb7c928f3899195fc0d434c5c9686669bcf1171b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e59ea5dd4bff548a2aac5be1b6e2bdc3e190a9edb1e0415ebd9b113e1c00f0c6efd117dd581c3f816608f999eb4d4bbfdcc1d18e44710b5cd8e56fc0f5c09ab0
|
7
|
+
data.tar.gz: edb2154fdb5ba9dabb0b015366f149b525582e676e9ad6c2c39a44d5a14840f7774d76b3b41537cfdb66a5a1f9c656b50cc1a044abb1f1457f335dc78f1f41b3
|
data/lib/kth/alimtalk.rb
CHANGED
@@ -27,7 +27,7 @@ module Kth
|
|
27
27
|
if options.present?
|
28
28
|
params['reqdate'] = options['request_date'].strftime("%Y%m%d%H%M%S") if options['request_date']
|
29
29
|
params['url'] = options['url'] if options['url']
|
30
|
-
params['
|
30
|
+
params['url_button_txt'] = options['url_button_txt'] if options['url_button_txt']
|
31
31
|
params['failed_subject'] = options['failed_subject'] if options['failed_subject']
|
32
32
|
params['failed_msg'] = options['failed_msg']
|
33
33
|
end
|
@@ -94,7 +94,7 @@ module Kth
|
|
94
94
|
if options.present?
|
95
95
|
params['reqdate'] = options['request_date'].strftime("%Y%m%d%H%M%S") if options['request_date']
|
96
96
|
params['url'] = options['url'] if options['url']
|
97
|
-
params['
|
97
|
+
params['url_button_txt'] = options['url_button_txt'] if options['url_button_txt']
|
98
98
|
params['failed_subject'] = options['failed_subject'] if options['failed_subject']
|
99
99
|
params['failed_msg'] = options['failed_msg']
|
100
100
|
end
|
@@ -108,7 +108,7 @@ module Kth
|
|
108
108
|
conn = Faraday.new(BASE_URL)
|
109
109
|
res = conn.post do |req|
|
110
110
|
req.url url
|
111
|
-
req.headers[
|
111
|
+
req.headers[CaseSensitiveString.new('x-waple-authorization')] = key
|
112
112
|
req.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'
|
113
113
|
req.body = params
|
114
114
|
end
|
data/lib/kth/alimtalk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kth-alimtalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyoungwon Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|