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

Add helper method for returns #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add helper method for returns #81

wants to merge 1 commit into from

Conversation

hazim-ap
Copy link

Since there is already a helper method for purchase could we also get one for the return api? This would help make our codebase a bit more consistent instead of having to rely on the lower level api_post function.

Since there is already a helper method for `purchase` could we also get one for the `return` api? This would help make our codebase a bit more consistent instead of having to rely on the lower level `api_post` function.
@lindsaycooper
Copy link
Contributor

@hazimj Please add unit tests for this method. Here is an example of the purchase unit tests: https://github.com/sailthru/sailthru-ruby-client/blob/master/test/sailthru/purchase_test.rb

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.

2 participants