diff --git a/README.md b/README.md index 2f0cb9cd..c52b6ead 100644 --- a/README.md +++ b/README.md @@ -225,8 +225,7 @@ api_token = API_TOKEN_OBTAINED_FROM_JIRA_UI options = { :site => 'http://mydomain.atlassian.net:443/', :context_path => '', - :username => '', - :password => api_token, + :default_headers => { 'Authorization' => "Bearer #{api_token}" }, :auth_type => :basic }