Class: MetadataPresenter::ResumeForm
- Inherits:
-
Object
- Object
- MetadataPresenter::ResumeForm
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/metadata_presenter/resume_form.rb
Instance Attribute Summary collapse
-
#attempts_remaining ⇒ Object
Returns the value of attribute attempts_remaining.
-
#recorded_answer ⇒ Object
Returns the value of attribute recorded_answer.
-
#secret_answer ⇒ Object
Returns the value of attribute secret_answer.
-
#secret_question ⇒ Object
Returns the value of attribute secret_question.
Instance Method Summary collapse
-
#initialize(secret_question) ⇒ ResumeForm
constructor
A new instance of ResumeForm.
Constructor Details
#initialize(secret_question) ⇒ ResumeForm
Returns a new instance of ResumeForm.
12 13 14 |
# File 'app/models/metadata_presenter/resume_form.rb', line 12 def initialize(secret_question) self.secret_question = secret_question end |
Instance Attribute Details
#attempts_remaining ⇒ Object
Returns the value of attribute attempts_remaining.
5 6 7 |
# File 'app/models/metadata_presenter/resume_form.rb', line 5 def attempts_remaining @attempts_remaining end |
#recorded_answer ⇒ Object
Returns the value of attribute recorded_answer.
5 6 7 |
# File 'app/models/metadata_presenter/resume_form.rb', line 5 def recorded_answer @recorded_answer end |
#secret_answer ⇒ Object
Returns the value of attribute secret_answer.
5 6 7 |
# File 'app/models/metadata_presenter/resume_form.rb', line 5 def secret_answer @secret_answer end |
#secret_question ⇒ Object
Returns the value of attribute secret_question.
5 6 7 |
# File 'app/models/metadata_presenter/resume_form.rb', line 5 def secret_question @secret_question end |