lib/chatterbot/client.rb in chatterbot-2.0.5 vs lib/chatterbot/client.rb in chatterbot-2.1.0

- old
+ new

@@ -4,25 +4,18 @@ # # routines for connecting to Twitter and validating the bot # module Client - attr_accessor :screen_name, :client, :streaming_client + attr_accessor :screen_name, :client # # the main interface to the Twitter API # def client @client ||= Twitter::REST::Client.new(client_params) end - - # - # interace to the Streaming API - # - def streaming_client - @streaming_client ||= Twitter::Streaming::Client.new(client_params) - end - + # # return the currently authenticated User # def authenticated_user @user ||= client.user