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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 408c91dd9538c76e25c9cca4e2982cd067d03945
4
- data.tar.gz: 811a36692846a529fb84f73fad94b56fdaaa155d
3
+ metadata.gz: 38bff4ac58c6d7dc8964ac6b7bd533fbf9880b3f
4
+ data.tar.gz: cb7c928f3899195fc0d434c5c9686669bcf1171b
5
5
  SHA512:
6
- metadata.gz: d17c77145c63bbc6ae5d96d5ecddc7d313af762f48165d8f1b6f055a4f7f6af376b87a0cdb4b612bd16c3c69dacad266289ba323ce293c3054047a80e1424ebf
7
- data.tar.gz: 66f701859e463fe227f32c4ba84d4eaf7431ebe8d19285ecdd36df63cfa4b063932d275ace7644f6c2bd860dc2f46001b48a22028c05be3c0dab38444a15e62d
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['url_button_text'] = options['url_button_text'] if options['url_button_text']
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['url_button_text'] = options['url_button_text'] if options['url_button_text']
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[Kth::Alimtalk::CaseSensitiveString.new('x-waple-authorization')] = key
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
@@ -1,5 +1,5 @@
1
1
  module Kth
2
2
  module Alimtalk
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
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.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-09-13 00:00:00.000000000 Z
11
+ date: 2017-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler