Evan Broder
f84ee25b03
Re-add StripeObject#as_json to make ActiveSupport happy
...
Fixes #25
2012-05-07 17:23:18 -07:00
Evan Broder
5f70ea3bbd
Merge branch 'signal'
2012-05-04 22:52:14 -07:00
Evan Broder
065f2316c7
Don't accept params to delete_customer because Stripe accepts none
2012-05-04 22:48:08 -07:00
Evan Broder
776807349f
Add new Transfer API endpoints
2012-05-04 15:58:05 -07:00
Evan Broder
1b2f07a9ea
Merge branch 'multi_json'
...
Fixes #19 and #22
2012-04-30 14:46:36 -07:00
Evan Broder
56d7c98945
Switch from Basic to Bearer auth
...
Stripe will be supporting Basic auth for the indefinite future, but
our API keys map onto Bearer auth more cleanly, and using it lets us
get rid of the base64 encoding step.
2012-04-30 14:41:46 -07:00
Evan Broder
f8073e132a
Add our own JSON abstraction to deal with MultiJson backwards compatibility
...
Thanks to Kevin Menard for the tip on how to approach it.
2012-04-26 13:58:20 -07:00
Evan Broder
32e619c04a
Switch from deprecated MultiJson.{encode,decode} to .{dump,load}
...
Bump gem dependency accordingly
2012-04-23 10:18:57 -07:00
Evan Broder
2e9693eccf
Merge branch 'master' into multi_json
2012-04-23 10:08:00 -07:00
Brian Collins
ba4ce6cd42
Revert "Charges should not be updatable"
...
This reverts commit 1415b08fb8a912f21b46b39015272ae8a42f105d.
2012-04-01 15:45:28 -07:00
Brian Collins
a6de6e3be7
Use multi_json
2012-04-01 13:44:22 -07:00
Brian Collins
1415b08fb8
Charges should not be updatable
2012-04-01 12:55:56 -07:00
Ross Boucher
e885c8cc64
Work around a bug in rest-client by encoding our own query strings
2012-03-22 11:43:43 -07:00
Brian Collins
dcc1e80ea6
Accept any arguments to StripeObject#as_json
2012-02-24 15:34:19 -08:00
Brian Collins
6f30c7150e
Fix JSON encoding with ActiveSupport 3.0
2012-02-22 11:29:29 -08:00
Ross Boucher
da996f99c3
Remove restrictions on special keys, update our to_s and inspect formats.
2012-01-27 14:58:15 -08:00
Ross Boucher
5d9f3c5909
Merge branch 'master' of github.com:stripe/stripe-ruby
...
Conflicts:
lib/stripe.rb
2012-01-26 16:33:04 -08:00
Ross Boucher
a1ff66d7fc
Rename to Event
2012-01-26 00:39:10 -08:00
Greg Brockman
cfef69ac06
Store the HTTP status code, HTTP body, and parsed JSON body on exceptions
2012-01-25 16:59:56 -08:00
Ross Boucher
54d41ff940
Add notifications. This is untested.
2012-01-20 13:19:19 -08:00
John Wood
5921076da0
Add support for deleting the discount associated with the customer
2012-01-13 06:40:24 -06:00
Sheena Pakanati
a4765eb886
Make plan objects allow edit operations.
2011-12-13 15:23:56 -08:00
Anurag Goel
81e9ab07f5
Fix name error
2011-12-06 16:14:00 -08:00
Greg Brockman
ad0c5b2e15
Update twitter URL
2011-11-27 21:27:14 -08:00
Patrick Collison
332b0caaf4
1.4.0 -> 1.4; add rest-client declaration
...
Allow >= 1.4.0, < 2
Bump version to 1.5.23
2011-11-12 13:43:30 -08:00
Greg Brockman
3fbd4d97bf
Make StripeObject enumerable
...
Closes https://github.com/stripe/stripe-ruby/issues/6
2011-10-19 10:26:12 -07:00
Sheena Pakanati
94d8bdf681
Coupon support.
2011-10-11 22:06:51 -07:00
Greg Brockman
e81afe05a1
Only exclude nil parameters
2011-10-05 13:18:24 -07:00
Greg Brockman
1a709b6d51
Don't pass nil values to the API
2011-10-05 13:13:03 -07:00
Greg Brockman
0888c2361b
Add || key
2011-10-05 13:08:10 -07:00
Greg Brockman
50d562ae90
Manually symbolize_names
...
A user ran into an issue where names were not being symbolized
properly. I guess there's some library out that breaks
:symbolize_names => true
2011-10-03 22:10:35 -07:00
Greg Brockman
cdc57fc763
Add Token
2011-09-25 22:45:37 -04:00
Greg Brockman
b79f4c2417
Handle JSON.dump errors
2011-09-08 01:07:10 -07:00
Greg Brockman
bdf07b4e23
stripe.rb: Remove Authors comment
2011-09-05 12:40:23 -05:00
Patrick Collison
d2975da889
Fix Rails 3 issue, per discussion
2011-09-04 16:42:36 -07:00
Sheena Pakanati
bf8dde378e
Add plan listing
2011-07-29 17:01:26 -07:00
Sheena Pakanati
35f6e24c5a
Add plan deletion
2011-07-29 12:06:23 -07:00
Sheena Pakanati
9c8a708cb2
Allow creation of plan objects
2011-07-26 16:58:01 -07:00
Greg Brockman
0df30135b8
Don't swallow LoadErrors if the JSON module has been defined
2011-07-12 23:25:05 -07:00
Greg Brockman
2473826b4c
Bundle Ruby JSON implementation
2011-07-12 22:13:45 -07:00
Greg Brockman
ad974d1d18
Let cancel_subscription accept optional params argument
2011-07-12 21:47:14 -07:00
Bradley Grzesiak
b03a4165df
Remove circular dependency in gemspec
2011-07-08 17:28:50 -07:00
Greg Brockman
8ec0f2778e
Bump version
2011-07-04 19:24:29 -07:00
Greg Brockman
a981f4910c
Put params for get/head/delete into query string
2011-07-04 19:23:40 -07:00
Greg Brockman
243ff69086
Also convert arrays to object ids
2011-07-04 19:23:40 -07:00
Greg Brockman
e9dbb72b03
Bump version
2011-06-29 17:11:05 -07:00
Greg Brockman
758c6c8aa8
Don't add to unsaved values if supposed to be ignored
2011-06-29 17:08:59 -07:00
Greg Brockman
45a27f714b
Bump version
2011-06-27 12:31:07 -07:00
Greg Brockman
f0764594db
Add ability to disable SSL cert verification
2011-06-27 12:30:33 -07:00
Greg Brockman
a13c37213c
Ask user to go to https://api.stripe.com/v1 in browser upon SSL cert error
2011-06-27 12:29:53 -07:00