lib/chatterbot/config.rb
#
# return a hash of the params we need to connect to the Twitter API
return a hash of the params we need to connect to the Twitter API
return a hash of the params we need to connect to the Twitter API
def client_params
      { 
        :consumer_key => config[:consumer_key],
        :consumer_secret => config[:consumer_secret],
        :access_token => config[:access_token],
        :access_token_secret => config[:access_token_secret]
      }
    end
def client_params { :consumer_key => config [ :consumer_key ] , :consumer_secret => config [ :consumer_secret ] , :access_token => config [ :access_token ] , :access_token_secret => config [ :access_token_secret ] } end
return a hash of the params we need to connect to the Twitter API
return a hash of the params we need to connect to the Twitter API