Class: Softlayer::Survey::Question
- Defined in:
- lib/softlayer/survey/question.rb
Defined Under Namespace
Classes: Representer
Instance Attribute Summary collapse
-
#answer_count ⇒ Object
Returns the value of attribute answer_count.
-
#answers ⇒ Object
Returns the value of attribute answers.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_required ⇒ Object
Returns the value of attribute is_required.
-
#multi_answer ⇒ Object
Returns the value of attribute multi_answer.
-
#question ⇒ Object
Returns the value of attribute question.
-
#question_order ⇒ Object
Returns the value of attribute question_order.
-
#survey ⇒ Object
Returns the value of attribute survey.
-
#survey_id ⇒ Object
Returns the value of attribute survey_id.
Method Summary
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#answer_count ⇒ Object
Returns the value of attribute answer_count.
10 11 12 |
# File 'lib/softlayer/survey/question.rb', line 10 def answer_count @answer_count end |
#answers ⇒ Object
Returns the value of attribute answers.
11 12 13 |
# File 'lib/softlayer/survey/question.rb', line 11 def answers @answers end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/softlayer/survey/question.rb', line 4 def id @id end |
#is_required ⇒ Object
Returns the value of attribute is_required.
5 6 7 |
# File 'lib/softlayer/survey/question.rb', line 5 def is_required @is_required end |
#multi_answer ⇒ Object
Returns the value of attribute multi_answer.
6 7 8 |
# File 'lib/softlayer/survey/question.rb', line 6 def multi_answer @multi_answer end |
#question ⇒ Object
Returns the value of attribute question.
7 8 9 |
# File 'lib/softlayer/survey/question.rb', line 7 def question @question end |
#question_order ⇒ Object
Returns the value of attribute question_order.
8 9 10 |
# File 'lib/softlayer/survey/question.rb', line 8 def question_order @question_order end |
#survey ⇒ Object
Returns the value of attribute survey.
12 13 14 |
# File 'lib/softlayer/survey/question.rb', line 12 def survey @survey end |
#survey_id ⇒ Object
Returns the value of attribute survey_id.
9 10 11 |
# File 'lib/softlayer/survey/question.rb', line 9 def survey_id @survey_id end |