code_corps v0.0.1 CodeCorps.GitHub.Adapters.Comment View Source

Used to convert between GitHub data which represents a GitHub Issue Comment and CodeCorps.Comment as well as CodeCorps.GithubComment attributes.

Link to this section Summary

Functions

Converts a CodeCorps.Comment into a set of attributes suitable for creating or updating an GitHub Issue Comment through the GitHub API

Converts a CodeCorps.GithubComment into a set of attributes suitable for creating or updating a CodeCorps.Comment

Converts a GitHub Issue Comment payload into a set of attributes suitable for creating or updating a CodeCorps.GithubComment

Link to this section Functions

Converts a CodeCorps.Comment into a set of attributes suitable for creating or updating an GitHub Issue Comment through the GitHub API.

Link to this function to_comment(github_comment) View Source
to_comment(CodeCorps.GithubComment.t()) :: map()

Converts a CodeCorps.GithubComment into a set of attributes suitable for creating or updating a CodeCorps.Comment

Link to this function to_github_comment(payload) View Source
to_github_comment(map()) :: map()

Converts a GitHub Issue Comment payload into a set of attributes suitable for creating or updating a CodeCorps.GithubComment