class Restforce::Middleware::Authorization
headers.
Piece of middleware that simply injects the OAuth token into the request
def call(env)
def call(env) env[:request_headers][AUTH_HEADER] = %(OAuth #{token}) @app.call(env) end
def token
def token @options[:oauth_token] end