Method: Papertrail::HttpClient#token_auth

Defined in:
lib/papertrail/http_client.rb

#token_auth(token) ⇒ Object



57
58
59
# File 'lib/papertrail/http_client.rb', line 57

def token_auth(token)
  @headers['X-Papertrail-Token'] = token
end