Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Subscription and Invoice params #400

Merged
merged 3 commits into from
Jul 13, 2018

Conversation

mcrumm
Copy link
Contributor

@mcrumm mcrumm commented Jul 13, 2018

@coveralls
Copy link

coveralls commented Jul 13, 2018

Coverage Status

Coverage remained the same at 83.984% when pulling accb657 on mcrumm:subscription-invoice-attrs into bcdd381 on code-corps:master.

Copy link
Collaborator

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! Just a few comments and we can get it in!

@@ -73,6 +79,7 @@ defmodule Stripe.Subscription do
:customer => Stripe.id() | Stripe.Customer.t(),
optional(:application_fee_percent) => integer,
optional(:billing) => String.t(),
optional(:billing_cycle_anchor) => Stripe.timestamp(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind adding all 3 to the update spec as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem! It's ready for another look.

@@ -19,12 +19,15 @@ defmodule Stripe.Subscription do
id: Stripe.id(),
object: String.t(),
application_fee_percent: float | nil,
billing: String.t(),
billing_cycle_anchor: Stripe.timestamp(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| nil

@@ -19,12 +19,15 @@ defmodule Stripe.Subscription do
id: Stripe.id(),
object: String.t(),
application_fee_percent: float | nil,
billing: String.t(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| nil

Copy link
Collaborator

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice! 🙇

@mcrumm
Copy link
Contributor Author

mcrumm commented Jul 13, 2018

Thanks, and thank you for the awesome library!

@snewcomer snewcomer merged commit 4f6e9a3 into beam-community:master Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants