Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 512 Bytes

testing.livemd

File metadata and controls

23 lines (17 loc) · 512 Bytes

Testing LemonEx Locally

Mix.install(
  [{:lemon_ex, path: __DIR__, env: :dev}],
  config_path: __DIR__ <> "/config/config.exs"
)

Load the API Key

api_key = System.get_env("LB_LEMON_EX_API_KEY")
opts = [api_key: api_key]

Testing

LemonEx.UsageRecords.list([], opts)