code_corps v0.0.1 CodeCorps.GitHub.Sync.GithubAppInstallation.Changeset View Source
In charge of managing changesets when creating or updating a
GithubAppInstallation in the process of handling an Installation event.
Link to this section Summary
Functions
Builds a changeset to create a GithubAppInstallation based on the payload
from an Installation event
Builds a changeset to update a GithubAppInstallation based on the payload
from an Installation event
Link to this section Functions
Link to this function
create_changeset(params, user \\ nil)
View Source
create_changeset(map(), CodeCorps.User.t() | nil) :: Ecto.Changeset.t()
Builds a changeset to create a GithubAppInstallation based on the payload
from an Installation event.
An optional user to associate the installation with can be provided.
Link to this function
update_changeset(record, params)
View Source
update_changeset(CodeCorps.GithubAppInstallation.t(), map()) :: Ecto.Changeset.t()
Builds a changeset to update a GithubAppInstallation based on the payload
from an Installation event.