lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb in twilio-ruby-5.9.0 vs lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb in twilio-ruby-5.10.0
- old
+ new
@@ -84,12 +84,15 @@
end
##
# Retrieve a single page of FeedbackInstance records from the API.
# Request is executed immediately.
- # @param [String] quality_score The quality_score
- # @param [feedback.Issues] issue The issue
+ # @param [String] quality_score An integer `1` to `5` quality score where `1`
+ # represents very poor call quality and `5` represents a perfect call.
+ # @param [feedback.Issues] issue One or more issues experienced during the call.
+ # The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`,
+ # `post-dial-delay`, `digits-not-captured`, `audio-latency`, or `one-way-audio`.
# @return [FeedbackInstance] Newly created FeedbackInstance
def create(quality_score: nil, issue: :unset)
data = Twilio::Values.of({
'QualityScore' => quality_score,
'Issue' => Twilio.serialize_list(issue) { |e| e },
@@ -240,11 +243,14 @@
end
##
# Retrieve a single page of FeedbackInstance records from the API.
# Request is executed immediately.
- # @param [String] quality_score The quality_score
- # @param [feedback.Issues] issue The issue
+ # @param [String] quality_score An integer `1` to `5` quality score where `1`
+ # represents very poor call quality and `5` represents a perfect call.
+ # @param [feedback.Issues] issue One or more issues experienced during the call.
+ # The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`,
+ # `post-dial-delay`, `digits-not-captured`, `audio-latency`, or `one-way-audio`.
# @return [FeedbackInstance] Newly created FeedbackInstance
def create(quality_score: nil, issue: :unset)
context.create(quality_score: quality_score, issue: issue, )
end
\ No newline at end of file