botomizer 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/botomizer/telegram.rb +1 -1
- data/lib/botomizer/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: 5908af78b73eaef8d683fb02b606ad041203f391
|
4
|
+
data.tar.gz: 18158946da72c637aaa23d82cd8cd2abdc33e020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a6f8c84c1edf29e0c127ab29664a62090d5a1a287b096d4f977b6e40408848506884cc189d5c487cbf2a244f1410e4945252fbc02f05bfe3d00c4c60d8f28fb
|
7
|
+
data.tar.gz: a51878749d1126c84511842540383143da90c0b075c97cb8ac26ec543ba338f6ce44ed449ccebcdf7e5830cd028412a4849aa86e6bb8fe76951ee74845d06a60
|
data/lib/botomizer/telegram.rb
CHANGED
@@ -36,7 +36,7 @@ module Botomizer::Telegram
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def send(method, query = {})
|
39
|
-
response = HTTParty.
|
39
|
+
response = HTTParty.post("#{API_URL}#{@options[:token]}/#{method}", {query: query}).parsed_response
|
40
40
|
|
41
41
|
if response['ok']
|
42
42
|
{status: :success, result: response['result'], message: response['description']}
|
data/lib/botomizer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: botomizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Belenky
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|