These are chat archives for rebelidealist/stripe-ruby-mock

15th
Dec 2015
Noman Ur Rehman
@nomanurrehman
Dec 15 2015 17:54
anyone here to elaborate? ...
kathyonu
@kathyonu
Dec 15 2015 21:34
@nomanurrehman I believe Stripe.com is the only one to issue dispute data, hence no create endpoint. Yes, you would have to handle the dispute code and you can mock it as any other test using stripe-ruby-mock. Here are some files that you may not have found yet, that address your quest :
stripe-ruby-mock/lib/stripe_mock/webhook_fixtures/charge.dispute.closed.json
stripe-ruby-mock/lib/stripe_mock/webhook_fixtures/charge.dispute.created.json
stripe-ruby-mock/lib/stripe_mock/webhook_fixtures/charge.dispute.updated.json
This gem lets you know it is not yet addessing all Stripe endpoints, so if you write new code to address such a thing, contributions to stripe-ruby-mock are welcome. Hope this helps.