Amber Feng
52792264ef
Merge pull request #118 from vandrijevik/nested-to-hash
...
Improved StripeObject#to_hash
2014-07-07 21:23:00 -07:00
Vladimir Andrijevik
238e071232
Merge remote-tracking branch 'stripe/master' into nested-to-hash
2014-06-30 12:45:40 +02:00
Kyle Conroy
bb9388384f
Bump to version 1.14.0
v1.14.0
2014-06-17 17:35:47 -07:00
Kyle Conroy
a2efbfa094
Merge pull request #140 from stripe/kjc-add-refund
...
Add support for refund resource
2014-06-17 16:57:02 -07:00
Kyle Conroy
e59a494215
Add support for refund resource
2014-06-16 17:13:57 -07:00
Kyle Conroy
c6987ce09b
Merge pull request #139 from stripe/truly_disable_ssl
...
Don't check blacklist if SSL verification is off
2014-06-05 16:04:54 -07:00
Kyle Conroy
0695960fc7
Don't check blacklist if SSL verification is off
...
It's helpful to be able to test the bindings with instances of the
Stripe API running locally, or running on a server that doesn't support
SSL. When :verify_ssl_certs is false, don't check the SSL cert against
the blacklist, as there probably isn't a certificate to check.
2014-06-05 15:49:26 -07:00
Stephen Wan
79cdeb0545
Bump Version
v1.13.0
2014-05-28 16:11:40 -07:00
Stephen Wan
145a9df170
Merge pull request #137 from stripe/stephen-transfer-cancelation
...
Added support for transfer cancelation
2014-05-28 10:02:15 -07:00
Stephen Wan
c25d4b0cbf
Cleaned up transfer tests
2014-05-27 16:59:22 -07:00
Stephen Wan
f13a050935
Added support for transfer cancelation
2014-05-26 11:30:20 -07:00
Amber Feng
56176b2539
Bump version.
v1.12.0
2014-05-21 16:52:13 -07:00
Michelle Bu
5a0c97e561
Merge pull request #136 from stripe/recipient-cards
...
Construct the recipient card URL if the recipient property exists.
2014-05-21 16:28:34 -07:00
Michelle Bu
57309a05de
Add tests for cards
2014-05-21 16:27:49 -07:00
Amber Feng
51af58c947
This needs to be a respond_to? instead.
2014-05-21 11:43:12 -07:00
Amber Feng
bc43fff551
Construct the recipient card URL if the recipient property exists.
2014-05-21 10:49:38 -07:00
Kyle Conroy
ca07ef08fd
Add Travis CI badge to the README
2014-05-15 12:01:10 -07:00
Richo Healey
48f76057f4
Document our approach to SSL preflighting
2014-04-10 12:44:16 -07:00
Richo Healey
e6850316f7
Bump version
v1.11.0
2014-04-09 20:57:37 -07:00
Richo Healey
f340d6249c
Merge pull request #128 from stripe/richo-blacklist-certificates
...
blacklist certificates
2014-04-09 20:33:46 -07:00
Richo Healey
67f90ec108
Verify the fingerprint on api.stripe.com before making any requests
2014-04-09 19:57:45 -07:00
Andy Brody
6944e4e97f
Update CA certificates bundle to 20130906.
...
http://www.ubuntu.com/usn/usn-2154-1/
https://gist.github.com/ab/9756531
2014-03-25 00:24:05 -07:00
Andy Brody
5c166e09c2
Sort the CA bundle in preparation for updating it.
2014-03-24 23:18:41 -07:00
Vladimir Andrijevik
5502c58162
Merge remote-tracking branch 'origin/master' into nested-to-hash
2014-03-18 11:10:14 +01:00
Amber Feng
637d5899f6
Make History.txt more consistent
2014-02-18 15:07:32 -08:00
Amber Feng
5a7d69cd04
Bump version to 1.10.2
2014-02-18 14:56:55 -08:00
Amber Feng
089090cbe3
Merge pull request #121 from newaperio/lleger-create-subscription
...
Add ability to create subscriptions without fetching customer record. Closes #120 .
2014-02-18 14:39:17 -08:00
Amber Feng
ff565c1b91
Merge pull request #117 from vandrijevik/fix-assert-equal-calls
...
Fix order of assert_equal calls that were backwards
2014-02-18 14:28:48 -08:00
Logan Leger
3ba9148042
Add ability to create subscriptions without fetching customer record
...
This commit adds `Customer#create_subscription`, which allows a
subscription to be created on a customer without first fetching the
customer record.
Previously:
```
customer = Stripe::Customer.retrieve('cus_abc123def') # GET request
customer.subscriptions.create(plan: 'cool-plan-1') # POST request
```
**No alteration has been made to the above method; the preceding
implementation still functions as it did previously.**
With `#create_subscription`:
```
customer = Stripe::Customer.new('cus_abc123def') # No request
customer.create_subscription(plan: 'cool-plan-1') # POST request
```
This method removes the initial `GET` request and instead issues a
`POST` directly to create the subscription.
2014-02-18 15:12:44 -06:00
Krithika Muthukumar
880e5b539c
fixing typo
2014-02-17 09:54:02 -08:00
Vladimir Andrijevik
310c69e90d
In StripeObject#to_hash, call #to_hash on values which respond to it
2014-02-12 20:19:30 +01:00
Vladimir Andrijevik
650179b2aa
Fix order of assert_equal calls that were backwards
2014-02-12 20:18:52 +01:00
Andrew Thorp
218178ea54
Bump to 1.10.1
v1.10.1
2014-02-03 21:37:07 -06:00
Andrew Thorp
5029e818aa
Merge pull request #105 from stripe/fix-marshaling
...
Fixes marshaling of Stripe Objects
2014-02-03 19:31:33 -08:00
Andrew Thorp
0fdd830975
fixed marshaling forrealz
2014-02-03 21:29:32 -06:00
Andrew Thorp
c46d285b47
fix lurky marshaling
2014-02-03 21:29:32 -06:00
Andrew Thorp
f74edde14c
remove nilcheck of @values
2014-02-03 21:29:32 -06:00
Andrew Thorp
7ec8a12dff
use _dump and self._load instead of marshal_*
2014-02-03 21:29:32 -06:00
Andrew Thorp
02b40e6637
fix tests
2014-02-03 21:29:32 -06:00
Andrew Thorp
c880d6a277
fixed marshaling of stripe objects, fixes #90
2014-02-03 21:29:32 -06:00
Andrew Thorp
7275b9b951
whoops, respond_to? cannot be protected
2014-02-03 21:29:32 -06:00
Andrew Thorp
45fe0c2591
whoops, forgot 1.8 support
2014-02-03 21:29:16 -06:00
Andrew Thorp
413939f89f
fixed marshaling of stripe objects, fixes #90
2014-02-03 21:29:16 -06:00
Andrew Thorp
e1148c9f08
fixed marshaling forrealz
2014-02-03 21:17:37 -06:00
Andrew Thorp
11ed3d2d32
Merge pull request #110 from stripe/allow-expanding-on-save
...
Allow save to take opts
2014-01-29 17:50:06 -08:00
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
Andrew Thorp
90278f20d4
fix lurky marshaling
2014-01-29 19:25:27 -06:00
Jim Danz
eeb2528a74
Bump version to 1.10.0
v1.10.0
2014-01-29 16:51:03 -08:00
jimdanz
6eb9a784c0
Merge pull request #113 from jimdanz/ms
...
Ms
2014-01-29 16:48:03 -08:00
Jim Danz
d2058b3d1a
Fixup old tests for new param style in test_subscription
2014-01-29 16:34:48 -08:00