Skip to content

Commit

Permalink
add process_request_options for Crumb
Browse files Browse the repository at this point in the history
Mostly to workaround edgurgel/httpoison#164
  • Loading branch information
aliaksandr-martsinovich committed Feb 1, 2018
1 parent 261b817 commit b8e91f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ex_jenkins/endpoints/crumb.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@ defmodule ExJenkins.Crumb do
headers
|> Headers.add_authorization_header()
end

defp process_request_options(options) do
options ++ Application.get_env(:ex_jenkins, :httpoison)
end

end

0 comments on commit b8e91f5

Please sign in to comment.