429 Commits

Author SHA1 Message Date
Jim Danz
d2058b3d1a Fixup old tests for new param style in test_subscription 2014-01-29 16:34:48 -08:00
Jim Danz
02b1b05eef Merge branch 'master' of github.com:stripe/stripe-ruby into ms 2014-01-29 14:59:33 -08:00
Jim Danz
c4d5774170 Support deleting subscription discounts 2014-01-29 14:59:29 -08:00
Jim Danz
06cfcc6131 Also uncomment legacy methods 2014-01-29 14:59:23 -08:00
Jim Danz
8231fba217 Revert "Clearing out subscription code/tests from Customer."
This reverts commit d6ebab33109ff2501ba9709d2ac1dd666be0ab67.
We'll support the legacy single-subscription API style
indefinitely, and also we generaly try to make it so that
people can use modern bindings with out-of-date API versions.
2014-01-29 14:57:40 -08:00
Jim Danz
97f8df2934 Merge branch 'multiple-subscriptions' of github.com:pat/stripe-ruby into ms 2014-01-29 14:42:57 -08:00
Andrew Thorp
90b613e416 remove nilcheck of @values 2014-01-29 07:58:55 -06:00
Andrew Thorp
689c15fde2 use _dump and self._load instead of marshal_* 2014-01-29 07:54:35 -06:00
Andrew Thorp
56e0403158 fix tests 2014-01-27 08:44:09 -06:00
Andrew Thorp
5331e81f54 #save doesn't need an api_key, it's on the object already 2014-01-26 12:13:39 -06:00
Andrew Thorp
da4c93c41c fixed marshaling of stripe objects, fixes #90 2014-01-25 15:38:44 -08:00
Tim Craft
a1dcef4b3f Add ruby 2.1.0 to travis config 2014-01-25 15:38:14 -08:00
Andrew Thorp
f9d8dd7d12 whoops, respond_to? cannot be protected 2014-01-25 15:38:14 -08:00
Andrew Thorp
88b4afbac0 allow save to take opts, and an api_key
fixes #78
2014-01-25 15:26:51 -08:00
Andrew Thorp
c5edb730cb Merge pull request #108 from timcraft/travis-ruby21
Add ruby 2.1.0 to travis config
2014-01-25 15:11:08 -08:00
Tim Craft
fdb2423c3a Add ruby 2.1.0 to travis config 2014-01-25 20:30:28 +00:00
Andrew Thorp
8b5f7d038c whoops, respond_to? cannot be protected 2014-01-24 23:37:35 -08:00
Andrew Thorp
ebfe240ab5 whoops, respond_to? cannot be protected 2014-01-24 23:37:09 -08:00
Andrew Thorp
837461ac28 whoops, forgot 1.8 support 2014-01-24 23:33:56 -08:00
Andrew Thorp
9ead81b352 replace multi_json with json, fixes #101 2014-01-24 23:27:25 -08:00
Andrew Thorp
e717ee711e fixed marshaling of stripe objects, fixes #90 2014-01-24 22:52:57 -08:00
Andrew Thorp
8b3a00c587 cleaning up a pull request from @thomasbrus 2014-01-24 21:27:45 -08:00
Thomas Brus
6a7f705be3 Fall back to #respond_to? if ruby version is lower than 1.9.2 2014-01-24 21:27:45 -08:00
Thomas Brus
a4b12fac62 Override #respond_to_missing? instead 2014-01-24 21:27:45 -08:00
Thomas Brus
dc10c1b344 Implemented #respond_to? 2014-01-24 21:27:45 -08:00
Thomas Brus
42cee040e0 Added unit test for respond_to 2014-01-24 21:27:45 -08:00
Andrew Thorp
ff7595c006 Merge pull request #97 from surfacedamage/customer-create-upcoming-invoice
Allow creation of new Invoice off Customer
2014-01-24 20:46:08 -08:00
Jim Danz
5bfe10c031 Add missing List operation to card 2014-01-22 19:42:04 -10:00
Pat Allan
b0f0c03990 Ensure delete parameters are passed through for subscriptions. 2014-01-22 17:42:37 +11:00
Pat Allan
d6ebab3310 Clearing out subscription code/tests from Customer. 2014-01-22 17:09:49 +11:00
Pat Allan
ee42d9c583 Adding tests for Subscription. 2014-01-22 17:09:49 +11:00
Conrad Decker
4d5f45a222 Add multiple subscription functionality - first pass 2014-01-22 17:09:49 +11:00
Amber Feng
d7ddf47d57 Merge pull request #103 from yaauie/issue-89/add-license-name-to-gemspec
Add license to gemspec. Fixes #89
2014-01-02 15:23:08 -08:00
Ryan Biesemeyer
1e8062b83b Add license to gemspec. Fixes #89 2013-12-21 22:19:43 +00:00
Amber Feng
f369ca16f9 Bump version to 1.9.9. v1.9.9 2013-12-02 11:56:33 -08:00
Amber Feng
127e906d60 Unit tests for ApplicationFee. 2013-11-14 14:04:55 -08:00
Felix Kenton
81e46f4d6c Added ApplicationFee class.
- Currently supports listing, retrieving and refunding.
2013-11-14 14:04:55 -08:00
Amber Feng
28ac4ffe00 Bump version to 1.8.9 2013-11-14 14:03:50 -08:00
Amber Feng
0149f83027 Fix api_resource_test to not return in blocks. 2013-11-14 13:52:22 -08:00
Amber Feng
84bda71e62 Remove whitespace. 2013-11-14 13:52:14 -08:00
Amber Feng
30c263bc59 Fix mime-types at 1.25 so we don't break Ruby 1.8. 2013-11-14 13:51:37 -08:00
Amber Feng
2a6c8b048a Merge pull request #95 from vipulnsward/cleanup_vars_2
Cleanup unused test variables
2013-11-14 11:48:45 -08:00
surfacedamage
73919cd1d5 Allow creation of new invoice off customer 2013-10-31 22:09:30 -04:00
Vipul A M
3e019adb6a Cleanup unused test variables 2013-10-25 23:23:22 +05:30
Kiran Bhattaram
294d6c63b3 Merge pull request #91 from stripe/metadata-api
Metadata API
v1.8.8
2013-10-10 17:57:48 -07:00
kiran-b
a0f1856cbb refactored update api operation, added ruby 1.9 tests back 2013-10-09 20:56:31 -07:00
kiran-b
5626199c86 bumped version to 1.8.8 2013-10-08 21:13:51 -07:00
kiran-b
2970a577ba removed occasionally failing test: curl args order inconsistent 2013-10-08 21:13:44 -07:00
kiran-b
1724f85e26 tests for metadata 2013-10-08 21:01:13 -07:00
kiran-b
b52c98c9c3 added support for setting/deleting individual keys 2013-10-08 17:38:40 -07:00