Sha256: 4cebc78fa6529ca2638c7dcf9056b4eea58abdca86818f62808e50e6733e3062

Contents?: true

Size: 285 Bytes

Versions: 8

Compression:

Stored size: 285 Bytes

Contents

require 'active_support/message_verifier'

class GlobalID
  class Verifier < ActiveSupport::MessageVerifier
    private
      def encode(data, **)
        ::Base64.urlsafe_encode64(data)
      end

      def decode(data, **)
        ::Base64.urlsafe_decode64(data)
      end
  end
end

Version data entries

8 entries across 8 versions & 5 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/globalid-1.2.1/lib/global_id/verifier.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/globalid-1.2.1/lib/global_id/verifier.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/globalid-1.2.1/lib/global_id/verifier.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/globalid-1.2.1/lib/global_id/verifier.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/globalid-1.2.1/lib/global_id/verifier.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/globalid-1.2.1/lib/global_id/verifier.rb
globalid-1.2.1 lib/global_id/verifier.rb
globalid-1.2.0 lib/global_id/verifier.rb