Sha256: ead73657f72acca86ff940db3f5175947987db02523aed4f7188be700ead0036
Contents?: true
Size: 389 Bytes
Versions: 6
Compression:
Stored size: 389 Bytes
Contents
require 'active_support' require 'active_support/core_ext' require 'retrobot/tweet_filters/base' class Retrobot module TweetFilters class RetroDays < Base def initialize(retrobot) super end def filter(tweet) if tweet.timestamp > config.retro_days.ago raise RetryLater else tweet end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems