line-bot-lite 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/line/bot/http.rb +2 -2
- data/lib/line/bot/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: 7174d064420f5b23cb0a8e8f30fdf57921673e21
|
4
|
+
data.tar.gz: cb742ec63c7c334d3c6e055e4628f55806c22564
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7a5d419e34dfb393fd7d545a239a573a004493b6ef458512cbd54f65276a512ea2a7bf2d61a4f1725a68f54f3144cb303962bd3bd71140f49b7f92259e2a25d
|
7
|
+
data.tar.gz: 75719aa08765008be01572cf42154a726f9709ea47ea13e963dfdc387c55954249f86f316301b4525303cbdc70fc210e090e57ee9cf15ed7ccaaee38df391dfa
|
data/lib/line/bot/http.rb
CHANGED
@@ -11,12 +11,12 @@ module Line
|
|
11
11
|
|
12
12
|
def self.get(url, header = {})
|
13
13
|
uri = URI(url)
|
14
|
-
self.http(uri).get(uri.
|
14
|
+
self.http(uri).get(uri.request_uri, header)
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.post(url, payload, header = {})
|
18
18
|
uri = URI(url)
|
19
|
-
self.http(uri).post(uri.
|
19
|
+
self.http(uri).post(uri.request_uri, payload, header)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
data/lib/line/bot/version.rb
CHANGED