defmodule GeoTherminator.PumpAPI.Auth.Tokens do require Record Record.defrecord(:record, :tokens, [ :access_token, :access_token_expiry, :refresh_token, :refresh_token_expiry ]) @type t :: record(:record, access_token: String.t(), access_token_expiry: DateTime.t(), refresh_token: String.t(), refresh_token_expiry: DateTime.t() ) end