View Source GitHub.CodesOfConduct (GitHub REST API Client v0.0.1-beta.0)

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

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

resources

Resources