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
Instance Method Summary collapse
-
#fetch(authorization: :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
25 26 27 28 29 30 31 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 25 def initialize(version) super(version) # Path Solution @solution = { } @uri = "/Insights/QualityManagement/Settings/CommentTags" end |
Instance Method Details
#fetch(authorization: :unset) ⇒ InsightsSettingsCommentInstance
Fetch the InsightsSettingsCommentInstance
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 36 def fetch( authorization: :unset ) headers = Twilio::Values.of({ 'Authorization' => , }) payload = @version.fetch('GET', @uri, headers: headers) InsightsSettingsCommentInstance.new( @version, payload, ) end |
#to_s ⇒ Object
Provide a user friendly representation
52 53 54 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 52 def to_s '#<Twilio.FlexApi.V1.InsightsSettingsCommentList>' end |