Move AccountSuggestions::Source
subclasses default limit value to constant (#29282)
This commit is contained in:
parent
e1cee84e58
commit
0ef44ee720
5 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AccountSuggestions::Source
|
||||
DEFAULT_LIMIT = 10
|
||||
|
||||
def get(_account, **kwargs)
|
||||
raise NotImplementedError
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue