mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 03:30:33 +02:00
Rubocop fixes #2620
This commit is contained in:
parent
b7f475b1c9
commit
4b506d37e5
3 changed files with 6 additions and 6 deletions
|
@ -315,7 +315,7 @@ class Domain < ActiveRecord::Base
|
|||
self.registrant_verification_token = token
|
||||
self.registrant_verification_asked_at = asked_at
|
||||
self.statuses = [DomainStatus::PENDING_UPDATE]
|
||||
self.pending_json[:domain] = changes_cache
|
||||
pending_json[:domain] = changes_cache
|
||||
end
|
||||
|
||||
def registrant_update_confirmable?(token)
|
||||
|
@ -347,8 +347,8 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def registrant_verification_asked!(frame_str, current_user_id)
|
||||
self.pending_json['frame'] = frame_str
|
||||
self.pending_json['current_user_id'] = current_user_id
|
||||
pending_json['frame'] = frame_str
|
||||
pending_json['current_user_id'] = current_user_id
|
||||
self.registrant_verification_asked_at = Time.zone.now
|
||||
self.registrant_verification_token = SecureRandom.hex(42)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue