Brandur
6914178677
Bump version to 3.0.2
v3.0.2
2017-07-12 14:00:48 -07:00
Brandur
5786abcb7a
Merge pull request #557 from stripe/slava-1156
...
Allows removing coupon via passing nil
2017-07-12 13:59:23 -07:00
Slava Akhmechet
3094199fa8
styling
2017-07-12 12:58:20 -07:00
Slava Akhmechet
b4308aaa7e
Moving tests closer to the core
2017-07-12 12:54:53 -07:00
Brandur
743de63894
Bump version to 3.0.1
v3.0.1
2017-07-11 17:02:49 -07:00
Brandur
8bae71f246
Merge pull request #559 from stripe/brandur-include-saved-resources
...
Include IDs of resources set into properties
2017-07-11 17:00:35 -07:00
Brandur
ab3b1c9dfb
Remove now uneeded #saved_and_unchanged method
2017-07-11 12:41:03 -07:00
Brandur
3c632d68b7
Refactor #serialize_params_value to make key optional
2017-07-11 12:40:32 -07:00
Brandur
d90c2b8e74
Include IDs of resources set as properties
...
Tweaks the serialization behavior so that when a resource is explicitly
set to a resource's field and that resource is subsequently saved, then
if it looks like the set resource was persisted we extract its ID and
send it up to the API.
By slight extension we also throw an `ArgumentError` if it looks like
that set resource was _not_ persisted because if the user set it
explicitly then it was probably not their intention to have it silently
ignored by the library in the event of a problem.
2017-07-11 12:37:19 -07:00
Slava Akhmechet
78178f72d0
Following up with Brandur's fix suggestion
2017-07-10 13:59:23 -07:00
Slava Akhmechet
d0c4450e7e
Allows removing coupon via passing nil
2017-07-07 11:27:26 -07:00
Brandur
bf8638a06f
Bump version to 3.0.0
v3.0.0
2017-06-27 11:37:55 -07:00
Brandur
98855853cf
Merge pull request #555 from stripe/ob-pay-invoice-params
...
Add parameters when calling `pay` on an invoice
2017-06-27 11:35:44 -07:00
Olivier Bellone
78cd1d4f3d
Add parameters when calling pay
on an invoice
2017-06-27 14:01:08 +02:00
Brandur
94f6f4c809
Merge pull request #552 from stripe/brandur-remove-fixtures
...
Remove `FIXTURE` definitions for ephemeral keys
2017-06-21 16:06:52 -07:00
Brandur
524526c9b7
Remove FIXTURE
definitions for ephemeral keys
...
Redefining the constant like this produces a warning:
```
$ bundle exec rake
/Users/brandur/stripe/stripe-ruby/test/stripe/ephemeral_key_test.rb:75: warning: already initialized constant Stripe::EphemeralKeyTest::FIXTURE
/Users/brandur/stripe/stripe-ruby/test/stripe/ephemeral_key_test.rb:6: warning: previous definition of FIXTURE was here
Loaded suite /Users/brandur/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rake-11.1.2/lib/rake/rake_test_loader
Started
...
```
They also don't appear to be used, so it should be fine just to strip
them out of the test suite.
2017-06-21 15:39:41 -07:00
Marc Hesse
8139980f27
Bump version to 2.12.0
v2.12.0
2017-06-20 18:31:57 -07:00
Marc Hesse
d69ccfc1dd
Add support for ephemeral keys ( #549 )
2017-06-20 18:30:30 -07:00
Marc Hesse
3f01024974
Update OpenAPI files for ephemeral keys ( #551 )
2017-06-20 16:23:27 -07:00
Brandur
8a4e68868d
Merge pull request #550 from robinbrandt/docs-api-response
...
Fix documentation for getting a request id
2017-06-12 13:04:37 -07:00
Robin Brandt
d08ec9895d
Fix documentation for getting a request id
...
The last response is returned as a second return value of
Stripe::StripeClient#request.
2017-06-12 15:51:08 -04:00
Brandur
358af9ffb8
Merge pull request #547 from stripe/remi-remove-raw-pans
...
Remove raw PANs and use magic tokens instead
2017-05-30 12:36:14 -07:00
Remi Jannel
f0b9ba7c6f
Remove raw PANs and use magic tokens instead
2017-05-28 10:05:36 -04:00
Brandur
d152f0766c
Bump version to 2.11.0
v2.11.0
2017-05-26 14:18:29 -07:00
Andrew Yang
855ce0c7d4
Merge pull request #545 from stripe/andrewyang-idempotency-key-param
...
Warn user if a known opt (such as `idempotency_key`) is in params
2017-05-26 13:48:49 -07:00
Andrew Yang
e66eac41d1
Warn user if a known opt (such as idempotency_key) is in params
2017-05-26 13:29:36 -07:00
Brandur
1d2359cfbc
Bump version to 2.10.0
v2.10.0
2017-05-25 10:16:06 -07:00
Brandur
c98057fbf9
Merge pull request #546 from stripe/ob-login-links
...
Add support for login_links on the Account resource
2017-05-25 10:15:25 -07:00
Remi Jannel
27dca775c7
Do not rely on fixtures for login_links as it's not always here.
2017-05-19 14:49:33 -04:00
Olivier Bellone
330763aa02
Adds support for login links
2017-05-19 17:22:54 +02:00
Brandur
f87e1ed219
Merge pull request #543 from stripe/brandur-update-openapi
...
Update OpenAPI
2017-05-18 16:05:23 -07:00
Brandur
08d24f9835
Modify a few tests to comply with new OpenAPI changes
2017-05-18 15:56:59 -07:00
Brandur
47aa53e3bd
Update OpenAPI and fixtures
2017-05-18 15:56:50 -07:00
Brandur
89cb224b39
Bump version to 2.9.0
v2.9.0
2017-05-18 12:57:08 -07:00
Brandur
429afa959f
Merge pull request #523 from stripe/ob-oauth
...
Add OAuth methods
2017-05-18 12:56:19 -07:00
Olivier Bellone
a645a78cd0
Add OAuth methods
2017-05-18 11:29:59 +02:00
Brandur
b27cd9b5ed
Bump version to 2.8.0
v2.8.0
2017-04-28 09:46:23 -07:00
Brandur
2854e7565f
Merge pull request #537 from stripe/ob-webhook-signatures
...
Support for deserializing webhook events and verifying signatures
2017-04-28 09:43:36 -07:00
Brandur
bac96faf8e
Merge pull request #536 from stripe/brandur-timeouts
...
Add section for configuring timeouts to README
2017-04-28 08:01:03 -07:00
Olivier Bellone
0376e242d9
Support for deserializing webhook events and verifying signatures
2017-04-28 14:25:40 +02:00
Brandur
b44744db39
Add section for configuring timeouts to README
...
Timeouts are about to come to stripe-java [1], so for consistency we
mirror the README section that we're going to be adding over there.
[1] https://github.com/stripe/stripe-java/pull/369
2017-04-27 14:03:27 -07:00
Brandur
5f18d3d18c
Bump version to 2.7.0
v2.7.0
2017-04-26 12:14:16 -07:00
Brandur
4ca10ae845
Merge pull request #535 from stripe/brandur-invoice-line-item-test
...
Add test structure for `InvoiceLineItem`
2017-04-26 12:13:38 -07:00
Brandur
24e12b1422
Add test structure for InvoiceLineItem
...
This doesn't come back directly from the API so the suite is empty, but
just for completeness add a test file for the newly created
`InvoiceLineItem` model.
2017-04-26 12:08:19 -07:00
Brandur
48c0067efe
Merge pull request #534 from frewsxcv/invoice-line-item
...
Add `Stripe::InvoiceLineItem` class.
2017-04-26 12:06:48 -07:00
Corey Farwell
408c697847
Add Stripe::InvoiceLineItem
class.
...
Fixes #531 .
2017-04-26 14:59:02 -04:00
Brandur
8cda03a1bf
Bump version to 2.6.0
v2.6.0
2017-04-26 11:35:51 -07:00
Brandur
b7c5cf96ba
Merge pull request #533 from frewsxcv/constantize-object-names
...
Add string constants for each of the Stripe object names.
2017-04-26 11:35:07 -07:00
Corey Farwell
c4c38d63fc
Add string constants for each of the Stripe object names.
2017-04-26 14:20:22 -04:00
Brandur
500dfd98a0
Bump version to 2.5.0
v2.5.0
2017-04-24 16:35:33 -07:00