Mercurial > rsstweet
view config/initializers/ext_twitter_tweet.rb @ 239:c800506ae799 legit-client
More varied cache period for less chance of hitting rate limit
author | nanaya <me@nanaya.net> |
---|---|
date | Sat, 15 Jul 2023 01:59:44 +0900 |
parents | d35dbc09bd83 |
children |
line wrap: on
line source
class Twitter::Tweet def full_text_extended attrs[:full_text].printable end memoize :full_text_extended def unescaped_text CGI.unescapeHTML full_text_extended end memoize :unescaped_text end