File: auth.ex

package info (click to toggle)
erlang-hex 2.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,204 kB
  • sloc: erlang: 2,950; sh: 203; makefile: 10
file content (9 lines) | stat: -rw-r--r-- 189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
defmodule Hex.API.Auth do
  @moduledoc false

  alias Hex.API

  def get(domain, resource, auth) do
    API.request(:get, nil, "auth?domain=#{domain}&resource=#{resource}", auth)
  end
end