Class: MetadataPresenter::ResumeForm

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/metadata_presenter/resume_form.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_remainingObject

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_answerObject

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_answerObject

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_questionObject

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