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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9392d167e484a939fae7cf17c61c48967cc08424
4
- data.tar.gz: 9d3c5b4edeb3aae97651e4b7f8dbd671bf3f9f28
3
+ metadata.gz: 5908af78b73eaef8d683fb02b606ad041203f391
4
+ data.tar.gz: 18158946da72c637aaa23d82cd8cd2abdc33e020
5
5
  SHA512:
6
- metadata.gz: 0c2786368cf433d362ebc8d0e180daa1f1d2cc67f756780ea1d03f64fe8a9c06b944b852ab3382422bb544773d14bb8ad2fe387d91e5467d2f94cf2d89cbfd54
7
- data.tar.gz: e616482db350f3a22fb438927ab97e1d9194fa149923618d0a2228eb8d23b2b1067d6501f3ed375727aab2b485cf4a914a20f69f31d2eeb4b0a6f3101791caa3
6
+ metadata.gz: 4a6f8c84c1edf29e0c127ab29664a62090d5a1a287b096d4f977b6e40408848506884cc189d5c487cbf2a244f1410e4945252fbc02f05bfe3d00c4c60d8f28fb
7
+ data.tar.gz: a51878749d1126c84511842540383143da90c0b075c97cb8ac26ec543ba338f6ce44ed449ccebcdf7e5830cd028412a4849aa86e6bb8fe76951ee74845d06a60
@@ -36,7 +36,7 @@ module Botomizer::Telegram
36
36
  end
37
37
 
38
38
  def send(method, query = {})
39
- response = HTTParty.get("#{API_URL}#{@options[:token]}/#{method}", {query: query}).parsed_response
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']}
@@ -1,3 +1,3 @@
1
1
  module Botomizer
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
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.8
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-18 00:00:00.000000000 Z
11
+ date: 2017-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler