view config/initializers/twitter_tweet_cache_key.rb @ 143:8a858aec1905

Stringify the cache key
author nanaya <me@nanaya.pro>
date Wed, 13 Dec 2017 06:09:17 +0900
parents 148d8c17cb79
children
line wrap: on
line source

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