Class: Etapper::API::Question
- Inherits:
-
Object
- Object
- Etapper::API::Question
- Defined in:
- lib/etapper/api/service.rb
Overview
Instance Attribute Summary collapse
-
#displayText ⇒ Object
Returns the value of attribute displayText.
-
#field ⇒ Object
Returns the value of attribute field.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#required ⇒ Object
Returns the value of attribute required.
Instance Method Summary collapse
-
#initialize(displayText = nil, field = nil, ref = nil, required = nil) ⇒ Question
constructor
A new instance of Question.
Constructor Details
#initialize(displayText = nil, field = nil, ref = nil, required = nil) ⇒ Question
Returns a new instance of Question.
1810 1811 1812 1813 1814 1815 |
# File 'lib/etapper/api/service.rb', line 1810 def initialize(displayText = nil, field = nil, ref = nil, required = nil) @displayText = displayText @field = field @ref = ref @required = required end |
Instance Attribute Details
#displayText ⇒ Object
Returns the value of attribute displayText.
1805 1806 1807 |
# File 'lib/etapper/api/service.rb', line 1805 def displayText @displayText end |
#field ⇒ Object
Returns the value of attribute field.
1806 1807 1808 |
# File 'lib/etapper/api/service.rb', line 1806 def field @field end |
#ref ⇒ Object
Returns the value of attribute ref.
1807 1808 1809 |
# File 'lib/etapper/api/service.rb', line 1807 def ref @ref end |
#required ⇒ Object
Returns the value of attribute required.
1808 1809 1810 |
# File 'lib/etapper/api/service.rb', line 1808 def required @required end |