Class: Spear::Structure::TalentNetwork::JoinFormQuestion
- Includes:
- EmbededClass
- Defined in:
- lib/spear/structure/talent_network/join_form_question.rb
Instance Attribute Summary collapse
-
#join_questions ⇒ Object
Returns the value of attribute join_questions.
Attributes inherited from Base
#error_message, #response, #root, #status
Instance Method Summary collapse
-
#initialize(response) ⇒ JoinFormQuestion
constructor
A new instance of JoinFormQuestion.
Methods included from EmbededClass
Methods inherited from Base
Constructor Details
#initialize(response) ⇒ JoinFormQuestion
Returns a new instance of JoinFormQuestion.
9 10 11 12 13 |
# File 'lib/spear/structure/talent_network/join_form_question.rb', line 9 def initialize(response) super(response) @join_questions = generate_questions(@root["JoinQuestions"]) rescue nil end |
Instance Attribute Details
#join_questions ⇒ Object
Returns the value of attribute join_questions.
7 8 9 |
# File 'lib/spear/structure/talent_network/join_form_question.rb', line 7 def join_questions @join_questions end |