line_notify 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/line_notify/client.rb +1 -1
- data/lib/line_notify/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f885dd19d2b133e055234f08803f5b578f13880c6a2869dccb95916c8eb518a2
|
4
|
+
data.tar.gz: 7f42cc85922cfc21fd91e02810f701206c8b4da3084349bcc7561a685a65ec14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff750b1db4c771722b1c5ddc942f2bd3783dbfd08a27787b6a89693173d7c49b889148317171147eec97e348df887cc5404a7b87fc590d1bb0b6d29e67df83dd
|
7
|
+
data.tar.gz: 5ce5eda001a2229dd7cea9f5902ecae1ca2faa16852333cd167cb2508cb8e173414e2a03592f0aad449c2741b7b8719eb07789bfebc811c4d631b60d4dc3b720
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -32,7 +32,7 @@ Or install it yourself as:
|
|
32
32
|
```ruby
|
33
33
|
line_notify = LineNotify.new(YOUR_LINE_TOKEN)
|
34
34
|
options = {message: 'hoge', stickerPackageId: 1, stickerId: 113}
|
35
|
-
line_notify.
|
35
|
+
line_notify.ping(options)
|
36
36
|
|
37
37
|
```
|
38
38
|
|
@@ -48,7 +48,7 @@ options = {
|
|
48
48
|
imageFullsize: "https://www.pakutaso.com/shared/img/thumb/SAYAPAKU5347_TP_V4.jpg",
|
49
49
|
imageThumbnail: "https://www.pakutaso.com/shared/img/thumb/SAYAPAKU5347_TP_V.jpg"
|
50
50
|
}
|
51
|
-
line_notify.
|
51
|
+
line_notify.ping(options)
|
52
52
|
```
|
53
53
|
|
54
54
|
![2018-02-16 0 53 38](https://user-images.githubusercontent.com/1485195/36266096-0ece0310-12b4-11e8-9b7e-67af11dadf9f.png)
|
data/lib/line_notify/client.rb
CHANGED
@@ -9,7 +9,7 @@ module LineNotify
|
|
9
9
|
@access_token = (access_token || ENV['LINE_ACCESS_TOKEN'])
|
10
10
|
end
|
11
11
|
|
12
|
-
def
|
12
|
+
def ping(options)
|
13
13
|
request = create_request(options)
|
14
14
|
Net::HTTP.start(URI.hostname, URI.port, use_ssl: URI.scheme == "https") do |req|
|
15
15
|
req.request(request)
|
data/lib/line_notify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: line_notify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YuzuruS
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
195
|
rubyforge_project:
|
196
|
-
rubygems_version: 2.7.
|
196
|
+
rubygems_version: 2.7.6
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: Client for the LINE notify API
|