class Faraday::Request::TokenAuthentication
Faraday request.
TokenAuthentication is a middleware that adds a ‘Token’ header to a
def self.header(token, options = nil)
def self.header(token, options = nil) options ||= {} options[:token] = token super(:Token, options) end
def initialize(app, token, options = nil)
def initialize(app, token, options = nil) super(app, token, options) end