blob: d6ebb5fa6bc47adc6fb874747077af869a21efcd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
class HomeFeed < Feed
def initialize(account)
@account = account
super(:home, account.id)
end
def regenerating?
redis.exists?("account:#{@account.id}:regeneration")
end
end
|