Class: Spear::Structure::TalentNetwork::EmbededClass::JoinQuestion
- Inherits:
-
Object
- Object
- Spear::Structure::TalentNetwork::EmbededClass::JoinQuestion
- Defined in:
- lib/spear/structure/talent_network/embeded_class.rb
Overview
Resume embeded class
Instance Attribute Summary collapse
-
#form_value ⇒ Object
Returns the value of attribute form_value.
-
#option_display_type ⇒ Object
Returns the value of attribute option_display_type.
-
#options ⇒ Object
Returns the value of attribute options.
-
#order ⇒ Object
Returns the value of attribute order.
-
#required ⇒ Object
Returns the value of attribute required.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(question) ⇒ JoinQuestion
constructor
A new instance of JoinQuestion.
Constructor Details
#initialize(question) ⇒ JoinQuestion
Returns a new instance of JoinQuestion.
11 12 13 14 15 16 17 18 |
# File 'lib/spear/structure/talent_network/embeded_class.rb', line 11 def initialize(question) @text = question['Text'] @required = question['Required'] @form_value = question['FormValue'] @option_display_type = question['OptionDisplayType'] @order = question['Order'] = question['Options'] end |
Instance Attribute Details
#form_value ⇒ Object
Returns the value of attribute form_value.
9 10 11 |
# File 'lib/spear/structure/talent_network/embeded_class.rb', line 9 def form_value @form_value end |
#option_display_type ⇒ Object
Returns the value of attribute option_display_type.
9 10 11 |
# File 'lib/spear/structure/talent_network/embeded_class.rb', line 9 def option_display_type @option_display_type end |
#options ⇒ Object
Returns the value of attribute options.
9 10 11 |
# File 'lib/spear/structure/talent_network/embeded_class.rb', line 9 def end |
#order ⇒ Object
Returns the value of attribute order.
9 10 11 |
# File 'lib/spear/structure/talent_network/embeded_class.rb', line 9 def order @order end |
#required ⇒ Object
Returns the value of attribute required.
9 10 11 |
# File 'lib/spear/structure/talent_network/embeded_class.rb', line 9 def required @required end |
#text ⇒ Object
Returns the value of attribute text.
9 10 11 |
# File 'lib/spear/structure/talent_network/embeded_class.rb', line 9 def text @text end |