This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2017-11-17 18:16:48 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class HomeFeed < Feed
|
|
|
|
def initialize(account)
|
|
|
|
@type = :home
|
|
|
|
@id = account.id
|
|
|
|
@account = account
|
|
|
|
end
|
|
|
|
|
2019-10-06 16:11:17 -04:00
|
|
|
def regenerating?
|
|
|
|
redis.exists("account:#{@id}:regeneration")
|
2017-11-17 18:16:48 -05:00
|
|
|
end
|
|
|
|
end
|