view config/initializers/twitter_tweet_cache_key.rb @ 141:88d7a7714d4e

Restrict to just the fetch process
author nanaya <me@nanaya.pro>
date Wed, 13 Dec 2017 04:31:31 +0900
parents 148d8c17cb79
children
line wrap: on
line source

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