Class: Request::Auth::Bearer

Inherits:
BaseAuth show all
Defined in:
lib/request/resources/auth.rb

Instance Method Summary collapse

Methods inherited from BaseAuth

#initialize

Constructor Details

This class inherits a constructor from Request::Auth::BaseAuth

Instance Method Details

#applyObject



41
42
43
# File 'lib/request/resources/auth.rb', line 41

def apply
  @headers['Authorization'] = "Bearer #{@token}"
end