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