Class: Twilio::REST::FlexApi::V1::InsightsQuestionnairesListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::FlexApi::V1::InsightsQuestionnairesListResponse
- Defined in:
- lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb,
lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ InsightsQuestionnairesListResponse
constructor
A new instance of InsightsQuestionnairesListResponse.
- #insights_questionnaires ⇒ Object
- #insights_questionnaires_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ InsightsQuestionnairesListResponse
Returns a new instance of InsightsQuestionnairesListResponse.
487 488 489 490 491 492 493 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb', line 487 def initialize(version, payload, key) @insights_questionnaires_instance = payload.body[key].map do |data| InsightsQuestionnairesInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
580 581 582 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb', line 580 def headers @headers end |
#insights_questionnaires ⇒ Object
576 577 578 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb', line 576 def insights_questionnaires @insights_questionnaires end |
#insights_questionnaires_instance ⇒ Object
495 496 497 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb', line 495 def insights_questionnaires_instance @instance end |
#status_code ⇒ Object
584 585 586 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb', line 584 def status_code @status_code end |