Skip to content

Commit

Permalink
removed credo case warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun289 committed Jan 4, 2018
1 parent 96b1b0b commit d48ece0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gringotts/gateways/authorize_net.ex
Expand Up @@ -348,9 +348,9 @@ defmodule Gringotts.Gateways.AuthorizeNet do
@spec store(CreditCard.t, Keyword.t) :: tuple
def store(card, opts) do
request_data = if opts[:customer_profile_id] do
create_customer_payment_profile(card, opts) |> generate
card |> create_customer_payment_profile(opts) |> generate
else
create_customer_profile(card, opts) |> generate
card |> create_customer_profile(opts) |> generate
end
response_data = commit(:post, request_data, opts)
respond(response_data)
Expand Down

0 comments on commit d48ece0

Please sign in to comment.