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

Refactor WePay::Client #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Fosome
Copy link
Contributor

@Fosome Fosome commented Jun 13, 2016

Refactor WePay::Client to use request objects:

  • WePay::TestRequest
  • WePay::ProductionRequest

This paves for more configuration - hopefully making web/net adapter libs configurable:

  • Net:HTTP (default)
  • Patron
  • Typheous
  • HTTParty
  • etc.

ryanmojo added 2 commits June 13, 2016 09:09
- paves way for more OO refactoring
- maintain current `0.2.x` API
- divide client and request concerns
- create `WePay::TestRequest`
- create 'WePay::ProductionRequest`
@coveralls
Copy link

coveralls commented Jun 13, 2016

Coverage Status

Changes Unknown when pulling c6a83b9 on Fosome:client-request-response into * on wepay:master*.

@Fosome
Copy link
Contributor Author

Fosome commented Jun 15, 2016

@skyzyx Feels?

@Fosome
Copy link
Contributor Author

Fosome commented Jun 16, 2016

Follow up here: Fosome#1

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@calebhaye
Copy link

@Fosome sign the CLA? Code looks great.

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.

5 participants