lib/twilio-ruby/rest/api/v2010/account/queue.rb in twilio-ruby-5.25.4 vs lib/twilio-ruby/rest/api/v2010/account/queue.rb in twilio-ruby-5.26.0
- old
+ new
@@ -220,11 +220,11 @@
QueueInstance.new(@version, payload, account_sid: @solution[:account_sid], sid: @solution[:sid], )
end
##
# Deletes the QueueInstance
- # @return [Boolean] true if delete succeeds, true otherwise
+ # @return [Boolean] true if delete succeeds, false otherwise
def delete
@version.delete('delete', @uri)
end
##
@@ -379,10 +379,10 @@
context.update(friendly_name: friendly_name, max_size: max_size, )
end
##
# Deletes the QueueInstance
- # @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