Skip to content

Commit

Permalink
Update utils.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields authored Jan 14, 2025
1 parent a255d2d commit 6e027b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ruby_saml/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ def generate_uuid(prefix = nil)
prefix = prefix.is_a?(FalseClass) ? nil : prefix || UUID_DEFAULT_PREFIX
"#{prefix}#{SecureRandom.uuid}"
end
# @deprecated Use #generate_uuid
alias_method :uuid, :generate_uuid

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

0 comments on commit 6e027b7

Please sign in to comment.