Parent

Methods

Class/Module Index [+]

Quicksearch

Faraday::Request::TokenAuthentication

Public Class Methods

header(token, options = nil) click to toggle source
# File lib/faraday/request/token_authentication.rb, line 4
def self.header(token, options = nil)
  options ||= {}
  options[:token] = token
  super(:Token, options)
end
new(app, token, options = nil) click to toggle source
# File lib/faraday/request/token_authentication.rb, line 10
def initialize(app, token, options = nil)
  super(app, token, options)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.