mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
Remove Rubocop inline directives
This commit is contained in:
parent
66dd10302d
commit
c44f3df7f5
28 changed files with 5 additions and 169 deletions
|
@ -19,9 +19,6 @@ class Epp::Contact < Contact
|
|||
find_by(code: code)
|
||||
end
|
||||
|
||||
# rubocop: disable Metrics/PerceivedComplexity
|
||||
# rubocop: disable Metrics/CyclomaticComplexity
|
||||
# rubocop: disable Metrics/AbcSize
|
||||
def attrs_from(frame, new_record: false)
|
||||
f = frame
|
||||
at = {}.with_indifferent_access
|
||||
|
@ -45,9 +42,6 @@ class Epp::Contact < Contact
|
|||
at.merge!(ident_attrs(f.css('ident').first)) if new_record
|
||||
at
|
||||
end
|
||||
# rubocop: enable Metrics/PerceivedComplexity
|
||||
# rubocop: enable Metrics/CyclomaticComplexity
|
||||
# rubocop: enable Metrics/AbcSize
|
||||
|
||||
def new(frame, registrar)
|
||||
return super if frame.blank?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue