Skip to content

Commit

Permalink
reordered
Browse files Browse the repository at this point in the history
reordered params so it looks better.
  • Loading branch information
jpiepkow authored Jun 10, 2018
1 parent bbf25e3 commit 1bf33b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stripe/payment_methods/card.ex
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ defmodule Stripe.Card do
@spec create(params, Keyword.t()) :: {:ok, t} | {:error, Stripe.Error.t()}
when params: %{
:customer => Stripe.id() | Stripe.Customer.t(),
optional(:metadata) => Stripe.Types.metadata(),
:source => Stripe.id() | Stripe.Source.t(),
optional(:metadata) => Stripe.Types.metadata(),
}
def create(%{customer: _, source: _} = params, opts \\ []) do
new_request(opts)
Expand Down

0 comments on commit 1bf33b3

Please sign in to comment.