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