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 fbab990 commit 3d0d76c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ruby_saml/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,9 @@ def retrieve_plaintext(cipher_text, symmetric_key, algorithm)
end
end

# @deprecated Use RubySaml::Settings#sp_uuid_prefix instead.
def set_prefix(_value)
raise NoMethodError.new('RubySaml::Util.set_prefix has been removed. Please use RubySaml::Settings#uuid_prefix instead.')
raise NoMethodError.new('RubySaml::Util.set_prefix has been removed. Please use RubySaml::Settings#sp_uuid_prefix instead.')
end

# Generates a UUID with a prefix.
Expand Down

0 comments on commit 3d0d76c

Please sign in to comment.