class Faraday::Request::TokenAuthentication
Public Class Methods
header(token, options = nil)
click to toggle source
Calls superclass method
# File lib/openstf/faraday/ext.rb, line 5 def self.header(token, options = nil) options ||= {} options[:token] = token super(:Bearer, token) end