mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
rubocop updates
This commit is contained in:
parent
e289366734
commit
168df25aeb
3 changed files with 5 additions and 3 deletions
|
@ -8,8 +8,8 @@ class Registrant::DomainDeleteConfirmsController < RegistrantController
|
|||
@domain = nil unless @domain.registrant_delete_confirmable?(params[:token])
|
||||
end
|
||||
|
||||
# # rubocop: disable Metrics/PerceivedComplexity
|
||||
# # rubocop: disable Metrics/CyclomaticComplexity
|
||||
# rubocop: disable Metrics/PerceivedComplexity
|
||||
# rubocop: disable Metrics/CyclomaticComplexity
|
||||
def update
|
||||
@domain = Domain.find(params[:id])
|
||||
unless @domain.registrant_delete_confirmable?(params[:token])
|
||||
|
|
|
@ -408,7 +408,7 @@ class Epp::Domain < Domain
|
|||
)
|
||||
end
|
||||
|
||||
def epp_destroy(frame, user_id, verify=true)
|
||||
def epp_destroy(frame, user_id, verify = true)
|
||||
return false unless valid?
|
||||
|
||||
if verify && frame.css('delete').attr('verified').to_s.downcase != 'yes'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue