Sha256: 91ecdac57998acce0eda06073e6a3f954336dda1d6176aad131d041a1b365515
Contents?: true
Size: 336 Bytes
Versions: 2
Compression:
Stored size: 336 Bytes
Contents
module Chatterbot # routines for retweet module Retweet # simple wrapper for retweeting a message def retweet(id) return if require_login == false if debug_mode? debug "I'm in debug mode, otherwise I would retweet with tweet id: #{id}" else client.retweet id end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chatterbot-0.5.1 | lib/chatterbot/retweet.rb |
chatterbot-0.5.0 | lib/chatterbot/retweet.rb |