Parent

Methods

HTTP::AuthorizationHeader::BasicAuth

Basic authorization header builder @see tools.ietf.org/html/rfc2617

Public Class Methods

new(opts) click to toggle source

@param [fetch] opts @option opts [to_s] :user @option opts [to_s] :pass

# File lib/http/authorization_header/basic_auth.rb, line 11
def initialize(opts)
  @user = opts.fetch :user
  @pass = opts.fetch :pass
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.