view config/initializers/twitter_tweet_cache_key.rb @ 153:cd76c83d6d24

Update rails to 5.2.0 and other gems to their latest version
author nanaya <me@nanaya.pro>
date Sat, 14 Apr 2018 04:06:04 +0900
parents 148d8c17cb79
children
line wrap: on
line source

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