mastodon/app/models/list_feed.rb
abcang efffdd3778
Fix rubocop config and warnings (#15503)
* disable NewCops

* update TargetRubyVersion

* Fix Lint/MissingSuper for ActiveModelSerializers::Model

* Fix Lint/MissingSuper for feed

* Fix Lint/FloatComparison

* Do not use instance variables
2021-01-07 09:40:55 +01:00

8 lines
112 B
Ruby

# frozen_string_literal: true
class ListFeed < Feed
def initialize(list)
super(:list, list.id)
end
end