Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def connection
faraday = Faraday.new do |f|
f.response :raise_error
f.adapter Faraday.default_adapter # this must be the last middleware
f.ssl[:verify] = false
end
faraday.basic_auth 'insights-qa', 'redhat'
faraday
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment