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

Jan 2016
Marcos Felipe Pimenta Rodrigues
Jan 09 2016 21:15
Hi everyone, I'm new here! Let me know if I'm not following the rules! :)
Is there a way to mock the id of the Stripe::Card that will be generated next? For example, in Stripe::Customer.retrieve(customer_id).sources.create(source: {"number"=>"4242 4242 4242 4242", "exp_year"=>"2025", "exp_month"=>"1", "cvc"=>"123", "object"=>"card"}) I'd like the returned Stripe::Card instance to have the id "test_card_id".