diff --git a/lib/global_id/verifier.rb b/lib/global_id/verifier.rb index 847966d..f3eac48 100644 --- a/lib/global_id/verifier.rb +++ b/lib/global_id/verifier.rb @@ -3,11 +3,11 @@ class GlobalID class Verifier < ActiveSupport::MessageVerifier private - def encode(data) + def encode(data, **) ::Base64.urlsafe_encode64(data) end - def decode(data) + def decode(data, **) ::Base64.urlsafe_decode64(data) end end