Make Rubocop less whiny about things

This commit is contained in:
Maciej Szlosarczyk 2020-05-14 14:59:17 +03:00
parent 18ce853420
commit 88a3a2ebac
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -41,11 +41,9 @@ class RetainedDomains
{ {
name: domain.name, name: domain.name,
status: status, status: status,
punycode_name: punycode punycode_name: punycode,
} }
end end
def count delegate :count, to: :domains
domains.count
end
end end