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 support for CreditNote #758

Merged
merged 1 commit into from
Apr 18, 2019
Merged

Add support for CreditNote #758

merged 1 commit into from
Apr 18, 2019

Conversation

remi-stripe
Copy link
Contributor

cc @stripe/api-libraries

@remi-stripe remi-stripe changed the title [WIP] Add support for CreditNote Add support for CreditNote Apr 17, 2019
@remi-stripe
Copy link
Contributor Author

r? @ob-stripe

context ".void_credit_note" do
should "void credit_note" do
credit_note = Stripe::CreditNote.void_credit_note("cn_123")
assert_requested :post, "#{Stripe.api_base}/v1/credit_notes/cn_123/void"
Copy link
Contributor

Choose a reason for hiding this comment

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

yay static method!

@mickjermsurawong-stripe
Copy link
Contributor

LGTM

@remi-stripe remi-stripe merged commit 06498db into master Apr 18, 2019
@remi-stripe remi-stripe deleted the remi-add-creditnote branch April 18, 2019 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants