lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb in twilio-ruby-5.4.4 vs lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb in twilio-ruby-5.4.5
- old
+ new
@@ -75,11 +75,11 @@
# @return [FeedbackContext] FeedbackContext
def initialize(version, account_sid, call_sid)
super(version)
# Path Solution
- @solution = {account_sid: account_sid, call_sid: call_sid,}
+ @solution = {account_sid: account_sid, call_sid: call_sid}
@uri = "/Accounts/#{@solution[:account_sid]}/Calls/#{@solution[:call_sid]}/Feedback.json"
end
##
# Retrieve a single page of FeedbackInstance records from the API.
@@ -183,20 +183,20 @@
'sid' => payload['sid'],
}
# Context
@instance_context = nil
- @params = {'account_sid' => account_sid, 'call_sid' => call_sid,}
+ @params = {'account_sid' => account_sid, 'call_sid' => call_sid}
end
##
# Generate an instance context for the instance, the context is capable of
# performing various actions. All instance actions are proxied to the context
# @return [FeedbackContext] FeedbackContext for this FeedbackInstance
def context
unless @instance_context
- @instance_context = FeedbackContext.new(@version, @params['account_sid'], @params['call_sid'],)
+ @instance_context = FeedbackContext.new(@version, @params['account_sid'], @params['call_sid'])
end
@instance_context
end
##
@@ -240,11 +240,11 @@
# Request is executed immediately.
# @param [String] quality_score The quality_score
# @param [feedback.Issues] issue The issue
# @return [FeedbackInstance] Newly created FeedbackInstance
def create(quality_score: nil, issue: :unset)
- context.create(quality_score: quality_score, issue: issue,)
+ context.create(quality_score: quality_score, issue: issue)
end
##
# Fetch a FeedbackInstance
# @return [FeedbackInstance] Fetched FeedbackInstance
@@ -257,10 +257,10 @@
# @param [String] quality_score An integer from 1 to 5 quality score
# @param [feedback.Issues] issue One or more of the issues experienced during the
# call
# @return [FeedbackInstance] Updated FeedbackInstance
def update(quality_score: nil, issue: :unset)
- context.update(quality_score: quality_score, issue: issue,)
+ context.update(quality_score: quality_score, issue: issue)
end
##
# Provide a user friendly representation
def to_s
\ No newline at end of file