#!/usr/bin/env ruby require "bundler/setup" require "tweet_sanitizer" require "dotenv" require "pry" Dotenv.load @client = Twitter::REST::Client.new do |config| config.consumer_key = ENV["TWITTER_CONSUMER_KEY"] config.consumer_secret = ENV["TWITTER_CONSUMER_SECRET"] config.access_token = ENV["TWITTER_ACCESS_TOKEN"] config.access_token_secret = ENV["TWITTER_ACCESS_TOKEN_SECRET"] end using TweetSanitizer::TwitterExtension Pry.start