peburrows / goth

Elixir package for Oauth authentication via Google Cloud APIs
http://hexdocs.pm/goth
MIT License
289 stars 111 forks source link

TokenStore - Define init/1 required by behaviour GenServer #37

Closed nitinstp23 closed 6 years ago

nitinstp23 commented 6 years ago

Getting this warning message on compilation -

warning: function init/1 required by behaviour GenServer is not implemented (in module Goth.TokenStore).

We will inject a default implementation for now:

    def init(args) do
      {:ok, args}
    end

But you want to define your own implementation that converts the arguments given to GenServer.start_link/3 to the server state
peburrows commented 6 years ago

Thanks, I've merged #36 and published to hex as 0.8.1!

nitinstp23 commented 6 years ago

@peburrows Cool 👍