Skip to content

Commit 6e027b7

Browse files
Update utils.rb
1 parent a255d2d commit 6e027b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ruby_saml/utils.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ def generate_uuid(prefix = nil)
399399
prefix = prefix.is_a?(FalseClass) ? nil : prefix || UUID_DEFAULT_PREFIX
400400
"#{prefix}#{SecureRandom.uuid}"
401401
end
402+
# @deprecated Use #generate_uuid
402403
alias_method :uuid, :generate_uuid
403404

404405
# Given two strings, attempt to match them as URIs using Rails' parse method. If they can be parsed,

0 commit comments

Comments
 (0)