Sha256: 8dbbbf98b0272384c0e6f54d5ccd8d92da2ceca93eba98c6a578e8702e33e71e
Contents?: true
Size: 270 Bytes
Versions: 14
Compression:
Stored size: 270 Bytes
Contents
require 'base64' module Faraday class Request::BasicAuthentication < Request::Authorization # Public def self.header(login, pass) value = Base64.encode64([login, pass].join(':')) value.gsub!("\n", '') super(:Basic, value) end end end
Version data entries
14 entries across 14 versions & 4 rubygems