1236 Commits

Author SHA1 Message Date
Remi Jannel
bbec79ccba Add new methods to the Invoice resource 2018-11-08 17:28:55 -08:00
Remi Jannel
d62f12f277 Bump version to 3.29.0 v3.29.0 2018-10-30 10:48:15 -07:00
remi-stripe
4cee6fdb1b
Merge pull request #694 from stripe/remi-add-webhook-endpoint
Add support for the Webhook Endpoint resource
2018-10-30 10:45:17 -07:00
Remi Jannel
da9d15df95 Add support for the Webhook Endpoint resource 2018-10-30 10:36:10 -07:00
remi-stripe
fa3dc321b7
Merge pull request #692 from stripe/remi-add-person
Add support for the Person resource
2018-10-30 10:30:59 -07:00
Remi Jannel
23d94005d3 Add support for the Person resource 2018-10-30 10:25:10 -07:00
Brandur
9bc6ae85a5 Bump version to 3.28.0 v3.28.0 2018-09-24 16:14:36 -06:00
Brandur
7b939cb7d8
Merge pull request #690 from stripe/daz-terminal-bindings
Bindings for Terminal endpoints
2018-09-24 16:14:09 -06:00
David Zhu
cd5e3a7077 Linting issues 2018-09-24 13:50:06 -07:00
David Zhu
51f4550c2f Bump StripeMock version 2018-09-24 13:43:49 -07:00
David Zhu
b3055bfd44 Terminal Bindings 2018-09-24 13:43:32 -07:00
Olivier Bellone
6237a28b87
Bump version to 3.27.0 v3.27.0 2018-09-24 21:10:29 +02:00
Olivier Bellone
e20b44d5da
Merge pull request #689 from stripe/ob-file-resource
Handle `file` objects like `file_upload`
2018-09-24 21:09:26 +02:00
Olivier Bellone
9d64d31e2a
Upgrade stripe-mock 2018-09-22 16:52:58 +02:00
Olivier Bellone
ea09249e67
Use files.stripe.com only for the file create endpoint 2018-09-20 23:02:00 +02:00
Olivier Bellone
f3dd3ab1bf
Handle file objects like file_upload 2018-09-17 16:53:23 +02:00
Brandur
0b4802cdea Fix minor grammatical mistake 2018-09-14 12:18:15 -06:00
Brandur
b43b83cee1 Add a few more comments around new #eql?/#hash 2018-09-14 09:59:38 -06:00
Olivier Bellone
45e807a41a
Bump version to 3.26.1 v3.26.1 2018-09-14 10:12:00 +02:00
Olivier Bellone
8a53098c12
Merge pull request #688 from stripe/brandur-hash
Override `StripeObject#eql?` and `#hash` to produce more optimistic equivalency
2018-09-14 10:10:02 +02:00
Brandur
7c01836135 Override StripeObject#eql? and #hash to produce more optimistic equivalency
Overrides `#eql?` (hash equality) and `#hash` so that Stripe objects can
be used more easily as Hash keys and that certain other frameworks that
rely on these methods will have an easier time (e.g. RSpec's `change`,
see #687).

I think this might be a little controversial if we weren't already
overriding the `#==` implementation, but because we are, I think it
makes sense to extent it to these two methods as well.
2018-09-13 17:39:18 -06:00
Brandur
27f39aed85 Bump version to 3.26.0 v3.26.0 2018-09-05 14:54:35 -07:00
Brandur
856201f67e
Merge pull request #681 from stripe/remi-add-reporting-resources
Add support for the Reporting resources
2018-09-05 14:52:48 -07:00
Brandur
68cfe0fd8b
Merge pull request #685 from timcraft/use-keyword-args
Use keyword args for StripeObject#update_attributes
2018-09-05 09:54:22 -07:00
Brandur
8d01c03515
Merge pull request #684 from timcraft/remove-util-titlecase-parts
Remove Util.titlecase_parts method
2018-09-05 09:52:49 -07:00
Brandur
f8fd0d263e
Merge pull request #683 from timcraft/remove-util-file-readable
Remove unused Util.file_readable method
2018-09-05 09:51:38 -07:00
Tim Craft
29fe27d245 Use keyword args for StripeObject#update_attributes 2018-09-05 14:28:50 +01:00
Tim Craft
92775b1358 Remove Util.titlecase_parts method 2018-09-05 14:25:39 +01:00
Tim Craft
a43296d242 Remove unused Util.file_readable method 2018-09-05 14:11:05 +01:00
Remi Jannel
66248ba2aa Add support for the Reporting resources 2018-08-30 20:11:07 -04:00
Brandur
1bbbfd4e66
Merge pull request #680 from stripe/brandur-stripe-mock-030
Upgrade stripe-mock to 0.30.0
2018-08-30 10:30:28 -07:00
Brandur
b19358fb80 Upgrade stripe-mock to 0.30.0
Upgrades to the most recent version of stripe-mock now that we've got a
few more fixes into both its implementation and into stripe-ruby's test
suite.
2018-08-30 10:09:10 -07:00
Brandur
54b012caa0
Merge pull request #679 from stripe/brandur-minor-test-fixes
Minor test fixes
2018-08-30 09:40:49 -07:00
Brandur
6ad182b1eb Minor test fixes
I was testing with a new version of stripe-mock and it caught a few
problems with query parameter validation on. This patch contains some
minor fixes to address them.
2018-08-29 15:57:51 -07:00
Brandur
7331bf33de Bump version to 3.25.0 v3.25.0 2018-08-28 13:23:26 -07:00
Brandur
29d9e0d2c5
Merge pull request #678 from stripe/remi-fix-payment-intent
Fix payment intent methods to take extra parameters
2018-08-28 13:21:51 -07:00
Remi Jannel
0632afb5be Fix payment intent methods to take extra parameters and remove delete 2018-08-28 15:55:19 -04:00
Tomer Elmalem
3a8f1d7172 Bump version to 3.24.0 v3.24.0 2018-08-27 16:31:56 -07:00
tomer-stripe
0d7315f037
Merge pull request #675 from stripe/tomer-remove-edittable-bitcoin-receivers-actions
Remove ability to perform edit-actions on bitcoin receivers
2018-08-27 16:29:21 -07:00
Olivier Bellone
156145b96b
Merge pull request #677 from stripe/ob-prep-file
Use `::File` instead of `File`
2018-08-27 16:50:57 +02:00
Olivier Bellone
21db64fe0e
Use ::File instead of File 2018-08-27 15:32:10 +02:00
Olivier Bellone
a2f9822de7
Bump version to 3.23.0 v3.23.0 2018-08-23 10:09:25 +02:00
Olivier Bellone
97b65985df
Merge pull request #676 from stripe/remi-add-usage-record-summary
Add support for usage record summary
2018-08-23 10:08:50 +02:00
Remi Jannel
f5dc3ab0c3 Add support for usage record summary 2018-08-21 08:56:18 -04:00
Tomer Elmalem
2da53af59b Remove ability to perform edit-actions on bitcoint receivers 2018-08-16 11:00:22 -07:00
Brandur
2b2c2c3cd6 Bump version to 3.22.0 v3.22.0 2018-08-15 10:15:17 -07:00
Brandur
59ef4c2758
Merge pull request #674 from stripe/brandur-integer-indexes
Integer-index encode all arrays
2018-08-15 10:14:25 -07:00
Brandur
c1ff8bdc4c Integer-index encode all arrays
Changes all arrays from classic Rack encoding:

``` sh
arr[]=...&arr[]=...&arr[]=...
```

To integer-indexed encoding:

``` sh
arr[0]=...&arr[1]=...&arr[2]=...
```

We think that this should be tractable now that we've fully converted
all endpoints over to the new AbstractAPIMethod infrastructure on the
backend (although we should do a little more testing to make sure that
all endpoints still work).

As part of the conversion, we also remove any places that we were "spot
encoding" to get required integer-indexed syntax. This should now all be
built in.
2018-08-14 14:44:43 -07:00
Olivier Bellone
24143ab7d7
Bump version to 3.21.0 v3.21.0 2018-08-03 15:48:21 +02:00
Olivier Bellone
a24b69caab
Merge pull request #671 from stripe/ob-topup-cancel
Add cancel support for topups
2018-08-03 15:47:34 +02:00