The client struct: credentials, endpoints, and per-request Req options.
Build one with GhEx.new/1 rather than constructing the struct by hand.
The same client is used for both REST (GhEx.REST) and, later, GraphQL.
Summary
Functions
Builds a client from options. See GhEx.new/1 for the option list.
Types
@type t() :: %GhEx.Client{ auth: GhEx.Auth.t() | nil, graphql_url: String.t(), req_options: keyword(), rest_url: String.t() }
Functions
Builds a client from options. See GhEx.new/1 for the option list.