view config/initializers/twitter_tweet_cache_key.rb @ 223:ad6264cca788

Update to rails 7
author nanaya <me@nanaya.pro>
date Sat, 15 Jan 2022 02:39:53 +0900
parents 148d8c17cb79
children
line wrap: on
line source

class Twitter::Tweet
  def cache_key
    "twitter/tweet/#{id}"
  end
end