lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb in twilio-ruby-5.25.4 vs lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb in twilio-ruby-5.26.0
- old
+ new
@@ -251,11 +251,11 @@
TaskInstance.new(@version, payload, assistant_sid: @solution[:assistant_sid], sid: @solution[:sid], )
end
##
# Deletes the TaskInstance
- # @return [Boolean] true if delete succeeds, true otherwise
+ # @return [Boolean] true if delete succeeds, false otherwise
def delete
@version.delete('delete', @uri)
end
##
@@ -468,10 +468,10 @@
)
end
##
# Deletes the TaskInstance
- # @return [Boolean] true if delete succeeds, true otherwise
+ # @return [Boolean] true if delete succeeds, false otherwise
def delete
context.delete
end
##
\ No newline at end of file