Method: OAuth2::AccessToken#headers

Defined in:
lib/oauth2/access_token.rb

#headersObject

Get the headers hash (includes Authorization token)



368
369
370
# File 'lib/oauth2/access_token.rb', line 368

def headers
  {"Authorization" => options[:header_format] % token}
end