Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Faraday #39

Merged
merged 21 commits into from
May 24, 2018
Merged

Remove Faraday #39

merged 21 commits into from
May 24, 2018

Conversation

will-in-wi
Copy link
Contributor

First draft of using Net::HTTP directly and skipping Faraday. Avoids version conflicts that we and our customers are seeing.

Copy link
Contributor

@iantance iantance left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice to ditch this dependency.

request['Accept'] = "*/*"

if access_token
request['Authorization'] = "Bearer #{access_token}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a standard for quotes vs double-quotes in this project?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not at this point, it looks like. It's probably worth doing rubocop cleanups.

@will-in-wi will-in-wi merged commit a74bb91 into master May 24, 2018
@will-in-wi will-in-wi deleted the remove-faraday branch May 24, 2018 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants