cognition 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cognition/message.rb +1 -1
- data/lib/cognition/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: 9b4f5d9f0b84f10e2f4c60ba73d58cc72dd16641
|
4
|
+
data.tar.gz: e41ac19fb5b5dbee3e8e5da5fb6688371c8fc5b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b285abe7b369432cb959a8834e35760516bd56a32d9eeca45b8ab95f1947ce691fcc462f7c56f53353e5fa2610a6cd817ff7ccd9a82821521144067d5a8de89
|
7
|
+
data.tar.gz: 513e94aa1249cf847102edc205d7ee97f6a270de2f2ff6b20f296d3380afd898df1dab4585f7c0a5546546dd9a6bc07754c016914adf42b6ed39a7f9aa0bf5c9
|
data/lib/cognition/message.rb
CHANGED
@@ -5,7 +5,7 @@ module Cognition
|
|
5
5
|
def initialize(command, metadata = {})
|
6
6
|
@command = command
|
7
7
|
@metadata = metadata
|
8
|
-
@responder = Cognition::Responder.new(metadata[
|
8
|
+
@responder = Cognition::Responder.new(metadata["callback_url"]) if metadata["callback_url"]
|
9
9
|
end
|
10
10
|
|
11
11
|
def reply(text)
|
data/lib/cognition/version.rb
CHANGED