code_corps v0.0.1 CodeCorps.GitHub.Sync.Comment.Changeset View Source
In charge of building a Changeset to update a Comment with, when handling
a GitHub Comment payload.
Link to this section Summary
Functions
Constructs a changeset for creating a CodeCorps.Comment when syncing from a
GitHub API Comment payload
Constructs a changeset for updating a CodeCorps.Comment when syncing from a
GitHub API Comment payload
Link to this section Functions
Link to this function
create_changeset(github_comment, task, user)
View Source
create_changeset(CodeCorps.GithubComment.t(), CodeCorps.Task.t(), CodeCorps.User.t()) :: Ecto.Changeset.t()
Constructs a changeset for creating a CodeCorps.Comment when syncing from a
GitHub API Comment payload.
Link to this function
update_changeset(comment, github_comment)
View Source
update_changeset(CodeCorps.Comment.t(), CodeCorps.GithubComment.t()) :: Ecto.Changeset.t()
Constructs a changeset for updating a CodeCorps.Comment when syncing from a
GitHub API Comment payload.