fabychy 0.1.4 → 0.1.5

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: 4dd279070afede4fb0233ad4c330e10ccf5d550b
4
- data.tar.gz: 3869ad2c354291f8f70a89ba24d2079eb2a0b6ea
3
+ metadata.gz: 67756fa87b4970b37a9a0b9acbec6003826157dc
4
+ data.tar.gz: 83ccd025d56f5004ed5c96a4af3da734aae48856
5
5
  SHA512:
6
- metadata.gz: 981de850f3907511a7602b7704212e0b0559f0366864b12d0532a5e75d63e4412e30a4c71787d3dcb659cb032509035cb4586a8c642044b8e700eb3c5b7e4a5d
7
- data.tar.gz: daea70f91001cfb7446ab86bef23aa70c5826d669e32813d4a25a4cd194a7264b7097db4811e0c2eba492bf91ddc886a1c5b088cd559c20e6b392bd0ea88905c
6
+ metadata.gz: a0d3f796ea36b6ed7464bb21957bfeab25986d4b31728ce225b1ec6eeee09c7e2ad6e8136ad5ce15d5ce9231b02a2e8bd8da24bc6887f1dcb24fe16dc467bbc6
7
+ data.tar.gz: a9af73a88abfb5eb229cd81a6878f3f06400702deeb587de1334cfff3dd8babf16aec21e96dce9dd9ff7352be248d6d41a6e9e00fb081e209231fc98ef3962aa
data/lib/fabychy/bot.rb CHANGED
@@ -12,6 +12,10 @@ module Fabychy
12
12
  @connection = HTTPClient.new
13
13
  end
14
14
 
15
+ def send_raw(message)
16
+ api_post("me/messages?access_token=#{@access_token}", message)
17
+ end
18
+
15
19
  def send_message(message)
16
20
  api_post("me/messages?access_token=#{@access_token}", Fabychy::Sanitizer.sanitize(:msg, message))
17
21
  end
@@ -1,4 +1,4 @@
1
1
  module Fabychy
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fabychy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nima Kaviani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-05 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient