Class: Calendly::RoutingFormQuestion
- Inherits:
-
Object
- Object
- Calendly::RoutingFormQuestion
- Includes:
- ModelUtils
- Defined in:
- lib/calendly/models/routing_form_question.rb
Overview
Calendly’s routing form question model.
Constant Summary collapse
- TIME_FIELDS =
%i[created_at updated_at].freeze
Constants included from ModelUtils
Instance Attribute Summary collapse
-
#answer_choices ⇒ Array<String>
The respondent’s option(s) for “select” or “radios” types of questions.
-
#name ⇒ String
Question name (in human-readable format).
-
#required ⇒ Boolean
true if an answer to the question is required for respondents to submit the routing form; false if not required.
-
#type ⇒ String
Question type: name, text input, email, phone, textarea input, dropdown list or radio button list.
-
#uuid ⇒ String
Unique identifier for the routing form question.
Method Summary
Methods included from ModelUtils
#client, #id, included, #initialize, #inspect
Instance Attribute Details
#answer_choices ⇒ Array<String>
The respondent’s option(s) for “select” or “radios” types of questions.
27 28 29 |
# File 'lib/calendly/models/routing_form_question.rb', line 27 def answer_choices @answer_choices end |
#name ⇒ String
Question name (in human-readable format).
15 16 17 |
# File 'lib/calendly/models/routing_form_question.rb', line 15 def name @name end |
#required ⇒ Boolean
true if an answer to the question is required for respondents to submit the routing form; false if not required.
23 24 25 |
# File 'lib/calendly/models/routing_form_question.rb', line 23 def required @required end |
#type ⇒ String
Question type: name, text input, email, phone, textarea input, dropdown list or radio button list.
19 20 21 |
# File 'lib/calendly/models/routing_form_question.rb', line 19 def type @type end |
#uuid ⇒ String
Unique identifier for the routing form question.
11 12 13 |
# File 'lib/calendly/models/routing_form_question.rb', line 11 def uuid @uuid end |