Module: HTTP::Base64
Overview
Strict Base64 encoding utilities
Class Method Summary collapse
-
.encode64(input) ⇒ String
private
Encode data using strict Base64 encoding.
Class Method Details
.encode64(input) ⇒ String
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.
Encode data using strict Base64 encoding
18 19 20 |
# File 'lib/http/base64.rb', line 18 def encode64(input) [input].pack("m0") end |