Class: Twilio::REST::FlexApi::V1::InsightsSettingsCommentList
- Inherits:
-
ListResource
- Object
- ListResource
- Twilio::REST::FlexApi::V1::InsightsSettingsCommentList
- Defined in:
- lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.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) ⇒ InsightsSettingsCommentInstance
Fetch the InsightsSettingsCommentInstance.
-
#initialize(version) ⇒ InsightsSettingsCommentList
constructor
Initialize the InsightsSettingsCommentList.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version) ⇒ InsightsSettingsCommentList
Initialize the InsightsSettingsCommentList
20 21 22 23 24 25 26 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 20 def initialize(version) super(version) # Path Solution @solution = {} @uri = "/Insights/QM/Settings/CommentTags" end |
Instance Method Details
#fetch(token: :unset) ⇒ InsightsSettingsCommentInstance
Fetch the InsightsSettingsCommentInstance
32 33 34 35 36 37 38 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 32 def fetch(token: :unset) headers = Twilio::Values.of({'Token' => token, }) payload = @version.fetch('GET', @uri, headers: headers) InsightsSettingsCommentInstance.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_comment.rb', line 42 def to_s '#<Twilio.FlexApi.V1.InsightsSettingsCommentList>' end |