Class: AcceptableVerifiedCredentialAdoptionService
- Inherits:
-
Object
- Object
- AcceptableVerifiedCredentialAdoptionService
- Defined in:
- app/services/acceptable_verified_credential_adoption_service.rb
Overview
Supports the transition to an Acceptable Verified Credential
Constant Summary collapse
- REACTIVATION_TEMPLATE_ID =
Settings.vanotify.services.va_gov.template_id.login_reactivation_email
- STATS_KEY =
'api.user_transition_availability'
Instance Attribute Summary collapse
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(user) ⇒ AcceptableVerifiedCredentialAdoptionService
constructor
A new instance of AcceptableVerifiedCredentialAdoptionService.
- #perform ⇒ Object
Constructor Details
#initialize(user) ⇒ AcceptableVerifiedCredentialAdoptionService
Returns a new instance of AcceptableVerifiedCredentialAdoptionService.
14 15 16 |
# File 'app/services/acceptable_verified_credential_adoption_service.rb', line 14 def initialize(user) @user = user end |
Instance Attribute Details
#user ⇒ Object
Returns the value of attribute user.
9 10 11 |
# File 'app/services/acceptable_verified_credential_adoption_service.rb', line 9 def user @user end |
Instance Method Details
#perform ⇒ Object
18 19 20 |
# File 'app/services/acceptable_verified_credential_adoption_service.rb', line 18 def perform send_email if eligible_for_sending? end |