Class: Cb::Models::TalentNetwork
- Inherits:
-
Object
- Object
- Cb::Models::TalentNetwork
- Defined in:
- lib/cb/models/implementations/talent_network.rb
Defined Under Namespace
Classes: JobInfo, JoinFormBranding, JoinFormGeo, JoinFormGeoLocation, Member, Options, Questions
Instance Attribute Summary collapse
-
#join_form_questions ⇒ Object
Returns the value of attribute join_form_questions.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ TalentNetwork
constructor
A new instance of TalentNetwork.
Constructor Details
#initialize(args = {}) ⇒ TalentNetwork
Returns a new instance of TalentNetwork.
5 6 7 8 9 10 11 12 |
# File 'lib/cb/models/implementations/talent_network.rb', line 5 def initialize(args={}) @join_form_questions = Array.new if args.has_key?('JoinQuestions') args['JoinQuestions'].each do |question| @join_form_questions << TalentNetwork::Questions.new(question) end end end |
Instance Attribute Details
#join_form_questions ⇒ Object
Returns the value of attribute join_form_questions.
4 5 6 |
# File 'lib/cb/models/implementations/talent_network.rb', line 4 def join_form_questions @join_form_questions end |