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

Upgrade tesla #12

Merged
merged 6 commits into from
May 6, 2020
Merged

Upgrade tesla #12

merged 6 commits into from
May 6, 2020

Conversation

szajbus
Copy link
Contributor

@szajbus szajbus commented May 6, 2020

Summary of changes:

  • build tesla clients with Tesla.client/2, instead of Tesla.build_client/1
  • converted headers from maps to lists of tuples
  • use get! instead of get to keep the behaviour of tesla 0.x, we may want to migrate to new tesla's default and use no-bang version, but that would require some more code rewrite and for now I wanted the easiest/shortest upgrade path.

changes based on https://github.com/teamon/tesla/wiki/0.x-to-1.0-Migration-Guide

@szajbus szajbus marked this pull request as ready for review May 6, 2020 09:54
@szajbus szajbus merged commit e5af63e into master May 6, 2020
@szajbus szajbus deleted the upgrade-tesla branch May 6, 2020 10:23
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.

3 participants