Class: Twilio::REST::FlexApi::V1::InsightsSettingsAnswerSetsList
- Inherits:
-
ListResource
- Object
- ListResource
- Twilio::REST::FlexApi::V1::InsightsSettingsAnswerSetsList
- Defined in:
- lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb
Overview
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
Instance Method Summary collapse
-
#fetch(token: :unset) ⇒ InsightsSettingsAnswerSetsInstance
Fetch the InsightsSettingsAnswerSetsInstance.
-
#initialize(version) ⇒ InsightsSettingsAnswerSetsList
constructor
Initialize the InsightsSettingsAnswerSetsList.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version) ⇒ InsightsSettingsAnswerSetsList
Initialize the InsightsSettingsAnswerSetsList
20 21 22 23 24 25 26 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 20 def initialize(version) super(version) # Path Solution @solution = {} @uri = "/Insights/QM/Settings/AnswerSets" end |
Instance Method Details
#fetch(token: :unset) ⇒ InsightsSettingsAnswerSetsInstance
Fetch the InsightsSettingsAnswerSetsInstance
32 33 34 35 36 37 38 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 32 def fetch(token: :unset) headers = Twilio::Values.of({'Token' => token, }) payload = @version.fetch('GET', @uri, headers: headers) InsightsSettingsAnswerSetsInstance.new(@version, payload, ) end |
#to_s ⇒ Object
Provide a user friendly representation
42 43 44 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 42 def to_s '#<Twilio.FlexApi.V1.InsightsSettingsAnswerSetsList>' end |