# File lib/faraday/request/authorization.rb, line 6 def self.header(type, token) case token when String, Symbol then "#{type} #{token}" when Hash then build_hash(type.to_s, token) else raise ArgumentError, "Can't build an Authorization #{type} header from #{token.inspect}" end end