Class: InheritedProofing::MHV::InheritedProofingVerifier
- Inherits:
-
Object
- Object
- InheritedProofing::MHV::InheritedProofingVerifier
- Defined in:
- lib/inherited_proofing/mhv/inherited_proofing_verifier.rb
Instance Attribute Summary collapse
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(user) ⇒ InheritedProofingVerifier
constructor
A new instance of InheritedProofingVerifier.
- #perform ⇒ Object
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
#user ⇒ Object (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
#perform ⇒ Object
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 |