a guest Feb 27th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class TwitterUtils
- include Twitter
- def self.method_missing(method_name, *args, &block)
- Twitter.send(method_name, *args, &block) unless method_name =~ /^get_last_(\d+)_tweets$/
- Twitter.user_timeline(args, :count => $1)
RAW Paste Data