discourse/app/models/top_lists.rb

8 lines
168 B
Ruby

class TopLists
include ActiveModel::Serialization
attr_accessor :draft, :draft_key, :draft_sequence
TopTopic.periods.each { |period| attr_accessor period }
end