lib/chatterbot/config.rb in chatterbot-2.0.0.pre vs lib/chatterbot/config.rb in chatterbot-2.0.2
- old
+ new
@@ -91,9 +91,10 @@
# do we have an API key specified?
def needs_api_key?
config[:consumer_key].nil? || config[:consumer_secret].nil?
end
+
#
# has this script validated with Twitter OAuth?
def needs_auth_token?
config[:access_token].nil?
end