lib/twilio-ruby/rest/proxy/v1/service/session.rb in twilio-ruby-5.25.4 vs lib/twilio-ruby/rest/proxy/v1/service/session.rb in twilio-ruby-5.26.0
- old
+ new
@@ -227,11 +227,11 @@
SessionInstance.new(@version, payload, service_sid: @solution[:service_sid], sid: @solution[:sid], )
end
##
# Deletes the SessionInstance
- # @return [Boolean] true if delete succeeds, true otherwise
+ # @return [Boolean] true if delete succeeds, false otherwise
def delete
@version.delete('delete', @uri)
end
##
@@ -474,10 +474,10 @@
context.fetch
end
##
# Deletes the SessionInstance
- # @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