-
Notifications
You must be signed in to change notification settings - Fork 552
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
Use request_stripe_object for all requests #1071
Use request_stripe_object for all requests #1071
Conversation
|
…stripe_object_for_all_requests # Conflicts: # lib/stripe/resources/account.rb # lib/stripe/resources/apps/secret.rb # lib/stripe/resources/charge.rb # lib/stripe/resources/checkout/session.rb # lib/stripe/resources/credit_note.rb # lib/stripe/resources/customer.rb # lib/stripe/resources/dispute.rb # lib/stripe/resources/financial_connections/account.rb # lib/stripe/resources/identity/verification_session.rb # lib/stripe/resources/invoice.rb # lib/stripe/resources/issuing/authorization.rb # lib/stripe/resources/issuing/card.rb # lib/stripe/resources/issuing/dispute.rb # lib/stripe/resources/order.rb # lib/stripe/resources/payment_intent.rb # lib/stripe/resources/payment_link.rb # lib/stripe/resources/payment_method.rb # lib/stripe/resources/payout.rb # lib/stripe/resources/quote.rb # lib/stripe/resources/refund.rb # lib/stripe/resources/review.rb # lib/stripe/resources/setup_intent.rb # lib/stripe/resources/source.rb # lib/stripe/resources/subscription.rb # lib/stripe/resources/subscription_schedule.rb # lib/stripe/resources/terminal/reader.rb # lib/stripe/resources/test_helpers/test_clock.rb # lib/stripe/resources/topup.rb # lib/stripe/resources/transfer.rb # lib/stripe/resources/treasury/financial_account.rb # lib/stripe/resources/treasury/inbound_transfer.rb # lib/stripe/resources/treasury/outbound_payment.rb # lib/stripe/resources/treasury/outbound_transfer.rb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I like the direction! Just a few questions. PTAL @pakrym-stripe
Note: The magic comments |
1 similar comment
Note: The magic comments |
r? @dcr-stripe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Amazing
Switches to using
request_stripe_object
for all requests and removes special cased logic fromlist
andsearch
. The goal is to have the same logic accessible from custom methods as well as standard methods.