Andrew Thorp
9b3a3a020b
Merge pull request #106 from stripe/replace-multi-json-with-json
...
Replace multi_json with json
2014-01-29 17:49:41 -08:00
Jim Danz
eeb2528a74
Bump version to 1.10.0
2014-01-29 16:51:03 -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
5331e81f54
#save doesn't need an api_key, it's on the object already
2014-01-26 12:13:39 -06: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
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
9ead81b352
replace multi_json with json, fixes #101
2014-01-24 23:27:25 -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
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
f369ca16f9
Bump version to 1.9.9.
2013-12-02 11:56:33 -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
surfacedamage
73919cd1d5
Allow creation of new invoice off customer
2013-10-31 22:09:30 -04: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
b52c98c9c3
added support for setting/deleting individual keys
2013-10-08 17:38:40 -07:00
Brian Collins
b02b557b74
Style tweaks
2013-10-08 13:54:39 -07:00
kiran-b
57656f6e89
update now accounts for metadata={'key' => 'val'} syntax
2013-10-08 13:54:39 -07:00
Lachy Groom
a5a6c19742
update version
2013-09-18 15:48:11 -07:00
Lachy Groom
30da413efc
ability to close disputes
2013-09-18 15:43:05 -07:00
Amber Feng
06c860aeea
Bump version to 1.8.6.
2013-08-13 20:58:34 +01:00
Finbarr Taylor
0851f2a7fd
Added BalanceTransaction list resource.
...
Added Balance singleton resource.
2013-08-13 20:53:19 +01:00
Andrew Metcalf
56d8b910f7
Bump version
2013-08-12 09:07:37 -07:00
Andrew Metcalf
d291020a43
clean up syntax
2013-08-06 15:47:33 -07:00
Andrew Metcalf
f0ddfca71d
undo whitespace change
2013-08-06 15:29:29 -07:00
Andrew Metcalf
7d2ca0dbee
better error messaging
2013-08-06 15:26:22 -07:00
Andrew Metcalf
88ead09193
support unsetting parameters by passing nil and updating
2013-08-06 11:37:35 -07:00
Danny Whalen
c0b77e6fbf
Fix reference to instance variable
2013-07-15 11:38:13 -07:00
Sheena Pakanati
664a63a4de
Bump version to 1.8.4
2013-07-11 17:49:03 -07:00
Sheena Pakanati
87604d945e
Initial support for multiple cards.
2013-07-11 16:47:58 -07:00
Tim Craft
66be9d48dd
Fix comment and use two argument form of Hash#fetch
2013-07-05 19:42:00 +01:00
Tim Craft
da6736478e
Refactor Stripe::Util.convert_to_stripe_object method
...
* Extract hash mapping into object_classes method/ivar
* Use Hash#fetch instead of `if` and `||=`
2013-07-05 18:41:34 +01:00
Evan Broder
1fbce5288c
Add a more helpful error message to ListObject#[]
...
Our list calls return their results wrapped in an object so that we
can include extra information. We use this, e.g., to include the URL
to query for more records in the Transfer#transactions sublist.
When you get a ListObject, if you want to actually manipulate it as a
list, you have to call `#data` first to get the actual underlying
list.
This adds an exception to the `#[]` method to make what's going on
clearer.
Fixes #68
2013-06-30 23:00:01 -07:00
Evan Broder
daafdb983d
Fix confusion in ListObject around where api_key was coming from
...
Fixes #69
2013-06-30 22:34:30 -07:00
Evan Broder
c52973e7de
Add a comment explaining file_readable
2013-06-29 22:46:52 -07:00
Evan Broder
2dbc700fc3
Bump version
2013-05-06 13:56:14 -07:00
Evan Broder
2861964755
Fix handling of per-resource API keys ( fixes #67 )
2013-05-06 13:53:00 -07:00