Class: Twilio::REST::FlexApi::V1::InsightsQuestionnairesCategoryListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::FlexApi::V1::InsightsQuestionnairesCategoryListResponse
- Defined in:
- lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ InsightsQuestionnairesCategoryListResponse
constructor
A new instance of InsightsQuestionnairesCategoryListResponse.
- #insights_questionnaires_category ⇒ Object
- #insights_questionnaires_category_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ InsightsQuestionnairesCategoryListResponse
Returns a new instance of InsightsQuestionnairesCategoryListResponse.
393 394 395 396 397 398 399 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb', line 393 def initialize(version, payload, key) @insights_questionnaires_category_instance = payload.body[key].map do |data| InsightsQuestionnairesCategoryInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
486 487 488 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb', line 486 def headers @headers end |
#insights_questionnaires_category ⇒ Object
482 483 484 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb', line 482 def insights_questionnaires_category @insights_questionnaires_category end |
#insights_questionnaires_category_instance ⇒ Object
401 402 403 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb', line 401 def insights_questionnaires_category_instance @instance end |
#status_code ⇒ Object
490 491 492 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb', line 490 def status_code @status_code end |