Method: GraphQL::Schema::Base64Encoder.encode
- Defined in:
- lib/graphql/schema/base_64_encoder.rb
.encode(unencoded_text, nonce: false) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 |
# File 'lib/graphql/schema/base_64_encoder.rb', line 7 def self.encode(unencoded_text, nonce: false) Base64.urlsafe_encode64(unencoded_text, padding: false) end |