removes unnecessary attr_accessor
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
class Verification::Management::ManagedUser
|
class Verification::Management::ManagedUser
|
||||||
include ActiveModel::Model
|
include ActiveModel::Model
|
||||||
|
|
||||||
attr_accessor :user
|
|
||||||
|
|
||||||
def self.find(document_type, document_number)
|
def self.find(document_type, document_number)
|
||||||
User.where('document_number is not null').
|
User.where('document_number is not null').
|
||||||
find_or_initialize_by(document_type: document_type,
|
find_or_initialize_by(document_type: document_type,
|
||||||
|
|||||||
Reference in New Issue
Block a user