lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-5.25.4 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-5.26.0
- old
+ new
@@ -328,11 +328,11 @@
)
end
##
# Deletes the WorkerInstance
- # @return [Boolean] true if delete succeeds, true otherwise
+ # @return [Boolean] true if delete succeeds, false otherwise
def delete
@version.delete('delete', @uri)
end
##
@@ -564,10 +564,10 @@
)
end
##
# Deletes the WorkerInstance
- # @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