method

encode

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Codec
encode(data, url_safe: @url_safe) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/messages/codec.rb, line 25
        def encode(data, url_safe: @url_safe)
          url_safe ? ::Base64.urlsafe_encode64(data, padding: false) : ::Base64.strict_encode64(data)
        end
Register or log in to add new notes.