View Source GitHub.CodesOfConduct (GitHub REST API Client v0.3.3)

Provides API endpoints related to codes of conduct

Link to this section Summary

Link to this section Functions

Link to this function

get_all_codes_of_conduct(opts \\ [])

View Source
@spec get_all_codes_of_conduct(keyword()) ::
  {:ok, [GitHub.CodeOfConduct.t()]} | {:error, GitHub.Error.t()}

Get all codes of conduct

Returns array of all GitHub's codes of conduct.

resources

Resources

Link to this function

get_conduct_code(key, opts \\ [])

View Source
@spec get_conduct_code(
  String.t(),
  keyword()
) :: {:ok, GitHub.CodeOfConduct.t()} | {:error, GitHub.Error.t()}

Get a code of conduct

Returns information about the specified GitHub code of conduct.

resources

Resources