Class: InheritedProofing::MHV::InheritedProofingVerifier

Inherits:
Object
  • Object
show all
Defined in:
lib/inherited_proofing/mhv/inherited_proofing_verifier.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user) ⇒ InheritedProofingVerifier

Returns a new instance of InheritedProofingVerifier.



11
12
13
# File 'lib/inherited_proofing/mhv/inherited_proofing_verifier.rb', line 11

def initialize(user)
  @user = user
end

Instance Attribute Details

#userObject (readonly)

Returns the value of attribute user.



9
10
11
# File 'lib/inherited_proofing/mhv/inherited_proofing_verifier.rb', line 9

def user
  @user
end

Instance Method Details

#performObject



15
16
17
18
19
20
# File 'lib/inherited_proofing/mhv/inherited_proofing_verifier.rb', line 15

def perform
  raise InheritedProofing::Errors::IdentityDocumentMissingError if missing_identity_doc?

  cache_identity_data
  code
end