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

Move Balance History to /v1/balance_transactions and add tests #821

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

remi-stripe
Copy link
Contributor

r? @ob-stripe
cc @stripe/api-libraries

Flagging I made the modification manually while we work on fixing the autogen internally for ruby!

Copy link
Contributor

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

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

Oh I didn't know this actually happened. Yes!!!

Minor comment, but otherwise LGTM.

module Stripe
class BalanceTransactionTest < Test::Unit::TestCase
should "be listable" do
BalanceTransactions = Stripe::BalanceTransaction.list
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this naming on purpose? Usually camel-case is constant naming in Ruby, so this should probably be balance_transactions and the instance below singular balance_transaction.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah no, just a bad string replace, nice catch, fixed!

Copy link
Contributor

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

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

LGTM!

@remi-stripe remi-stripe merged commit 3b99282 into master Jul 30, 2019
@remi-stripe remi-stripe deleted the remi-fix-bt branch July 30, 2019 19:15
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.

4 participants