Amber Feng
b081187095
Allow creating transfers, add recipient object.
2013-04-11 18:00:31 -07:00
Amber Feng
7ddf3ea42b
Fix URL building for when the base URL already has query parameters, and add test.
2013-03-11 13:19:28 -07:00
Tim Craft
6a08f656d0
Remove rubygems require
2013-02-04 12:40:10 +00:00
Jamie
16a83dcce5
Update URL for API spec
...
https://stripe.com/api/spec 404's
2013-01-28 15:57:54 -08:00
Sheena Pakanati
4df245996b
Add support for setting API version.
2013-01-15 11:31:03 -08:00
Ross Boucher
7f87b2bc4a
Add support for list objects. Bumps version to 1.7.5
2012-10-25 19:42:23 -07:00
Evan Broder
e776c7a3cb
Default the API method params to an empty dict, not nil
...
Fixes #42
2012-10-08 16:24:03 -07:00
Evan Broder
e8adad2c34
Encoding POST bodies ourselves, instead of letting rest-client
...
It's a bit unfortunate we have to do this, but this avoids an even
more unfortunate interaction between rest-client and hashery that
prevents passing a hash as the payload.
Also update the tests appropriately. This is also a bit messy, but I
didn't want to pull in Rack just for a handful of tests.
Fixes #38
2012-09-14 20:30:52 -07:00
Evan Broder
6b58d14fc1
URL-encode values (as well as keys) in GET params
2012-09-14 20:30:49 -07:00
Amber Feng
478ff80ac4
Add Account API resource.
2012-08-16 12:25:15 -07:00
Greg Brockman
22907c7046
Fixup whitespace
2012-06-19 23:15:08 -07:00
Akash Manohar J
f21c27113d
Requires stripe/version
...
Signed-off-by: Akash Manohar J <akash@akash.im>
2012-05-23 11:30:41 +05:30
Akash Manohar J
461026c18e
Adds note in readme on how to run test cases
...
Signed-off-by: Akash Manohar J <akash@akash.im>
2012-05-23 11:30:41 +05:30
Akash Manohar J
78bf6a6260
Changes order of require
...
Signed-off-by: Akash Manohar J <akash@akash.im>
2012-05-23 11:30:41 +05:30
Akash Manohar J
90ef0971d9
Moves API operations to seperate files
...
Signed-off-by: Akash Manohar J <akash@akash.im>
2012-05-15 02:56:40 +05:30
Akash Manohar J
e6fa8fa2f2
Requires all the classes in the stripe.rb file
...
Signed-off-by: Akash Manohar J <akash@akash.im>
2012-05-15 02:48:30 +05:30
Akash Manohar J
481d8110f2
Moves classes to seperate files
...
Signed-off-by: Akash Manohar J <akash@akash.im>
2012-05-15 02:38:09 +05:30
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