Module: HTTP::Base64
Overview
Strict Base64 encoding utilities
Class Method Summary collapse
-
.encode64(input) ⇒ String
private
Encode data using strict Base64 encoding.
Instance Method Summary collapse
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 |
Instance Method Details
#self?.encode64 ⇒ String
11 |
# File 'sig/http.rbs', line 11
def self?.encode64: (String input) -> String
|