mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
refactor
This commit is contained in:
parent
91f373379a
commit
17f7a609cc
2 changed files with 8 additions and 3 deletions
|
@ -66,6 +66,11 @@ class Contact < ActiveRecord::Base
|
|||
updated_by ? updated_by.username : nil
|
||||
end
|
||||
|
||||
def auth_info_matches pw
|
||||
return true if auth_info == pw
|
||||
return false
|
||||
end
|
||||
|
||||
class << self
|
||||
|
||||
def extract_attributes ph, type=:create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue