CatchRelease / pandadoc-api

Ruby API Wrapper for the PandaDoc API
MIT License
0 stars 5 forks source link

Refactor API interactions #2

Closed dgalarza closed 6 years ago

dgalarza commented 6 years ago

Extracts Pandadoc::Api::Client to encapsulate http interactions with the API. We previously had a lot of duplication of the interactions with HTTParty, as well as duplication on how to authenticate requests with the Bearer token.