Skip to content

Commit

Permalink
renamed :global atom for defdelegate deprecation in elixir 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanbrunetti committed Jul 14, 2016
1 parent 3fed1c0 commit 644ca3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixtagram.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ defmodule Elixtagram do
iex(1)> Elixtagram.configure(:global, "MY-TOKEN")
:ok
"""
defdelegate configure(:global, token), to: Elixtagram.Config, as: :configure
defdelegate configure(scope, token), to: Elixtagram.Config, as: :configure

@doc """
Returns the url you will need to redirect a user to for them to authorise your
Expand Down

0 comments on commit 644ca3a

Please sign in to comment.