Sha256: b1592383cc59a6e36034746d21c33845123f46098ae2427c286512917abf3130
Contents?: true
Size: 470 Bytes
Versions: 14
Compression:
Stored size: 470 Bytes
Contents
(function() { this.Stripe.ajaxJSONP = function(options) { if (options.url.indexOf("tokens") > -1) { return options.success({ id: 123, card: { last4: 4242, brand: 'Visa', exp_month: '12', exp_year: '2018' } }, 200); } else { throw(options.url + " has not been mocked by FakeStripe. " + "Please submit a pull request to implement this action."); } }; }).call(this);
Version data entries
14 entries across 14 versions & 1 rubygems