mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Rubocop updates
This commit is contained in:
parent
37b74d2086
commit
670df629b4
1 changed files with 1 additions and 2 deletions
|
@ -44,7 +44,7 @@ class Registrar < ActiveRecord::Base
|
|||
|
||||
after_save :update_whois_records
|
||||
def update_whois_records
|
||||
return true unless (changed? && (changes.keys & WHOIS_TRIGGERS).present?)
|
||||
return true unless changed? && (changes.keys & WHOIS_TRIGGERS).present?
|
||||
whois_records.map(&:save) # slow currently
|
||||
end
|
||||
|
||||
|
@ -61,7 +61,6 @@ class Registrar < ActiveRecord::Base
|
|||
def ordered
|
||||
order(name: :asc)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def issue_prepayment_invoice(amount, description = nil) # rubocop:disable Metrics/MethodLength
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue