{"action":"created","comment":{"url":"https://api.github.com/repos/columbus-elixir/marketing/pulls/comments/169672109","pull_request_review_id":98235920,"id":169672109,"diff_hunk":"@@ -0,0 +1,104 @@\n+defmodule CbusElixir.App do\n+  @moduledoc \"\"\"\n+  The App context.\n+  \"\"\"\n+\n+  import Ecto.Query, warn: false\n+  alias CbusElixir.Repo\n+\n+  alias CbusElixir.App.Speaker\n+\n+  @doc \"\"\"\n+  Returns the list of speakers.\n+\n+  ## Examples\n+\n+      iex> list_speakers()\n+      [%Speaker{}, ...]\n+\n+  \"\"\"\n+  def list_speakers do\n+    Repo.all(Speaker)\n+  end\n+\n+  @doc \"\"\"\n+  Gets a single speaker.\n+\n+  Raises `Ecto.NoResultsError` if the Speaker does not exist.\n+\n+  ## Examples\n+\n+      iex> get_speaker!(123)\n+      %Speaker{}\n+\n+      iex> get_speaker!(456)\n+      ** (Ecto.NoResultsError)\n+\n+  \"\"\"\n+  def get_speaker!(id), do: Repo.get!(Speaker, id)\n+\n+  @doc \"\"\"\n+  Creates a speaker.\n+\n+  ## Examples\n+\n+      iex> create_speaker(%{field: value})\n+      {:ok, %Speaker{}}\n+\n+      iex> create_speaker(%{field: bad_value})\n+      {:error, %Ecto.Changeset{}}\n+\n+  \"\"\"\n+  def create_speaker(attrs \\\\ %{}) do\n+    %Speaker{}\n+    |> Speaker.changeset(attrs)\n+    |> Repo.insert()\n+  end\n+\n+  @doc \"\"\"\n+  Updates a speaker.\n+\n+  ## Examples\n+\n+      iex> update_speaker(speaker, %{field: new_value})\n+      {:ok, %Speaker{}}\n+\n+      iex> update_speaker(speaker, %{field: bad_value})\n+      {:error, %Ecto.Changeset{}}\n+\n+  \"\"\"\n+  def update_speaker(%Speaker{} = speaker, attrs) do\n+    speaker\n+    |> Speaker.changeset(attrs)\n+    |> Repo.update()","path":"lib/cbus_elixir/app/app.ex","position":73,"original_position":73,"commit_id":"e693949e14cb70fca6c63d2f3869b446fbea8bb8","original_commit_id":"e693949e14cb70fca6c63d2f3869b446fbea8bb8","user":{"login":"Kartstig","id":2031422,"avatar_url":"https://avatars1.githubusercontent.com/u/2031422?v=4","gravatar_id":"","url":"https://api.github.com/users/Kartstig","html_url":"https://github.com/Kartstig","followers_url":"https://api.github.com/users/Kartstig/followers","following_url":"https://api.github.com/users/Kartstig/following{/other_user}","gists_url":"https://api.github.com/users/Kartstig/gists{/gist_id}","starred_url":"https://api.github.com/users/Kartstig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kartstig/subscriptions","organizations_url":"https://api.github.com/users/Kartstig/orgs","repos_url":"https://api.github.com/users/Kartstig/repos","events_url":"https://api.github.com/users/Kartstig/events{/privacy}","received_events_url":"https://api.github.com/users/Kartstig/received_events","type":"User","site_admin":false},"body":"!","created_at":"2018-02-21T15:24:11Z","updated_at":"2018-02-21T15:24:46Z","html_url":"https://github.com/columbus-elixir/marketing/pull/26#discussion_r169672109","pull_request_url":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/columbus-elixir/marketing/pulls/comments/169672109"},"html":{"href":"https://github.com/columbus-elixir/marketing/pull/26#discussion_r169672109"},"pull_request":{"href":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26","id":170337550,"html_url":"https://github.com/columbus-elixir/marketing/pull/26","diff_url":"https://github.com/columbus-elixir/marketing/pull/26.diff","patch_url":"https://github.com/columbus-elixir/marketing/pull/26.patch","issue_url":"https://api.github.com/repos/columbus-elixir/marketing/issues/26","number":26,"state":"open","locked":false,"title":"Adds Speakers","user":{"login":"mdarby","id":2805,"avatar_url":"https://avatars3.githubusercontent.com/u/2805?v=4","gravatar_id":"","url":"https://api.github.com/users/mdarby","html_url":"https://github.com/mdarby","followers_url":"https://api.github.com/users/mdarby/followers","following_url":"https://api.github.com/users/mdarby/following{/other_user}","gists_url":"https://api.github.com/users/mdarby/gists{/gist_id}","starred_url":"https://api.github.com/users/mdarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdarby/subscriptions","organizations_url":"https://api.github.com/users/mdarby/orgs","repos_url":"https://api.github.com/users/mdarby/repos","events_url":"https://api.github.com/users/mdarby/events{/privacy}","received_events_url":"https://api.github.com/users/mdarby/received_events","type":"User","site_admin":false},"body":"Speakers can now be CRUD'd.\r\n\r\n* `/speakers`, et al are introduced","created_at":"2018-02-20T23:24:08Z","updated_at":"2018-02-21T15:24:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04def5d0375ef3e1df47599c73e24f2bb71c0145","assignee":{"login":"mdarby","id":2805,"avatar_url":"https://avatars3.githubusercontent.com/u/2805?v=4","gravatar_id":"","url":"https://api.github.com/users/mdarby","html_url":"https://github.com/mdarby","followers_url":"https://api.github.com/users/mdarby/followers","following_url":"https://api.github.com/users/mdarby/following{/other_user}","gists_url":"https://api.github.com/users/mdarby/gists{/gist_id}","starred_url":"https://api.github.com/users/mdarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdarby/subscriptions","organizations_url":"https://api.github.com/users/mdarby/orgs","repos_url":"https://api.github.com/users/mdarby/repos","events_url":"https://api.github.com/users/mdarby/events{/privacy}","received_events_url":"https://api.github.com/users/mdarby/received_events","type":"User","site_admin":false},"assignees":[{"login":"mdarby","id":2805,"avatar_url":"https://avatars3.githubusercontent.com/u/2805?v=4","gravatar_id":"","url":"https://api.github.com/users/mdarby","html_url":"https://github.com/mdarby","followers_url":"https://api.github.com/users/mdarby/followers","following_url":"https://api.github.com/users/mdarby/following{/other_user}","gists_url":"https://api.github.com/users/mdarby/gists{/gist_id}","starred_url":"https://api.github.com/users/mdarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdarby/subscriptions","organizations_url":"https://api.github.com/users/mdarby/orgs","repos_url":"https://api.github.com/users/mdarby/repos","events_url":"https://api.github.com/users/mdarby/events{/privacy}","received_events_url":"https://api.github.com/users/mdarby/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26/commits","review_comments_url":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26/comments","review_comment_url":"https://api.github.com/repos/columbus-elixir/marketing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/columbus-elixir/marketing/issues/26/comments","statuses_url":"https://api.github.com/repos/columbus-elixir/marketing/statuses/e693949e14cb70fca6c63d2f3869b446fbea8bb8","head":{"label":"columbus-elixir:mdarby/add-speakers","ref":"mdarby/add-speakers","sha":"e693949e14cb70fca6c63d2f3869b446fbea8bb8","user":{"login":"columbus-elixir","id":36415128,"avatar_url":"https://avatars0.githubusercontent.com/u/36415128?v=4","gravatar_id":"","url":"https://api.github.com/users/columbus-elixir","html_url":"https://github.com/columbus-elixir","followers_url":"https://api.github.com/users/columbus-elixir/followers","following_url":"https://api.github.com/users/columbus-elixir/following{/other_user}","gists_url":"https://api.github.com/users/columbus-elixir/gists{/gist_id}","starred_url":"https://api.github.com/users/columbus-elixir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/columbus-elixir/subscriptions","organizations_url":"https://api.github.com/users/columbus-elixir/orgs","repos_url":"https://api.github.com/users/columbus-elixir/repos","events_url":"https://api.github.com/users/columbus-elixir/events{/privacy}","received_events_url":"https://api.github.com/users/columbus-elixir/received_events","type":"Organization","site_admin":false},"repo":{"id":121268118,"name":"marketing","full_name":"columbus-elixir/marketing","owner":{"login":"columbus-elixir","id":36415128,"avatar_url":"https://avatars0.githubusercontent.com/u/36415128?v=4","gravatar_id":"","url":"https://api.github.com/users/columbus-elixir","html_url":"https://github.com/columbus-elixir","followers_url":"https://api.github.com/users/columbus-elixir/followers","following_url":"https://api.github.com/users/columbus-elixir/following{/other_user}","gists_url":"https://api.github.com/users/columbus-elixir/gists{/gist_id}","starred_url":"https://api.github.com/users/columbus-elixir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/columbus-elixir/subscriptions","organizations_url":"https://api.github.com/users/columbus-elixir/orgs","repos_url":"https://api.github.com/users/columbus-elixir/repos","events_url":"https://api.github.com/users/columbus-elixir/events{/privacy}","received_events_url":"https://api.github.com/users/columbus-elixir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/columbus-elixir/marketing","description":null,"fork":false,"url":"https://api.github.com/repos/columbus-elixir/marketing","forks_url":"https://api.github.com/repos/columbus-elixir/marketing/forks","keys_url":"https://api.github.com/repos/columbus-elixir/marketing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/columbus-elixir/marketing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/columbus-elixir/marketing/teams","hooks_url":"https://api.github.com/repos/columbus-elixir/marketing/hooks","issue_events_url":"https://api.github.com/repos/columbus-elixir/marketing/issues/events{/number}","events_url":"https://api.github.com/repos/columbus-elixir/marketing/events","assignees_url":"https://api.github.com/repos/columbus-elixir/marketing/assignees{/user}","branches_url":"https://api.github.com/repos/columbus-elixir/marketing/branches{/branch}","tags_url":"https://api.github.com/repos/columbus-elixir/marketing/tags","blobs_url":"https://api.github.com/repos/columbus-elixir/marketing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/columbus-elixir/marketing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/columbus-elixir/marketing/git/refs{/sha}","trees_url":"https://api.github.com/repos/columbus-elixir/marketing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/columbus-elixir/marketing/statuses/{sha}","languages_url":"https://api.github.com/repos/columbus-elixir/marketing/languages","stargazers_url":"https://api.github.com/repos/columbus-elixir/marketing/stargazers","contributors_url":"https://api.github.com/repos/columbus-elixir/marketing/contributors","subscribers_url":"https://api.github.com/repos/columbus-elixir/marketing/subscribers","subscription_url":"https://api.github.com/repos/columbus-elixir/marketing/subscription","commits_url":"https://api.github.com/repos/columbus-elixir/marketing/commits{/sha}","git_commits_url":"https://api.github.com/repos/columbus-elixir/marketing/git/commits{/sha}","comments_url":"https://api.github.com/repos/columbus-elixir/marketing/comments{/number}","issue_comment_url":"https://api.github.com/repos/columbus-elixir/marketing/issues/comments{/number}","contents_url":"https://api.github.com/repos/columbus-elixir/marketing/contents/{+path}","compare_url":"https://api.github.com/repos/columbus-elixir/marketing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/columbus-elixir/marketing/merges","archive_url":"https://api.github.com/repos/columbus-elixir/marketing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/columbus-elixir/marketing/downloads","issues_url":"https://api.github.com/repos/columbus-elixir/marketing/issues{/number}","pulls_url":"https://api.github.com/repos/columbus-elixir/marketing/pulls{/number}","milestones_url":"https://api.github.com/repos/columbus-elixir/marketing/milestones{/number}","notifications_url":"https://api.github.com/repos/columbus-elixir/marketing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/columbus-elixir/marketing/labels{/name}","releases_url":"https://api.github.com/repos/columbus-elixir/marketing/releases{/id}","deployments_url":"https://api.github.com/repos/columbus-elixir/marketing/deployments","created_at":"2018-02-12T16:01:39Z","updated_at":"2018-02-19T03:34:03Z","pushed_at":"2018-02-21T00:42:50Z","git_url":"git://github.com/columbus-elixir/marketing.git","ssh_url":"git@github.com:columbus-elixir/marketing.git","clone_url":"https://github.com/columbus-elixir/marketing.git","svn_url":"https://github.com/columbus-elixir/marketing","homepage":null,"size":1075,"stargazers_count":3,"watchers_count":3,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":1,"open_issues":10,"watchers":3,"default_branch":"master"}},"base":{"label":"columbus-elixir:master","ref":"master","sha":"b0821e55181a22ca8543614cd6965b678680e43f","user":{"login":"columbus-elixir","id":36415128,"avatar_url":"https://avatars0.githubusercontent.com/u/36415128?v=4","gravatar_id":"","url":"https://api.github.com/users/columbus-elixir","html_url":"https://github.com/columbus-elixir","followers_url":"https://api.github.com/users/columbus-elixir/followers","following_url":"https://api.github.com/users/columbus-elixir/following{/other_user}","gists_url":"https://api.github.com/users/columbus-elixir/gists{/gist_id}","starred_url":"https://api.github.com/users/columbus-elixir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/columbus-elixir/subscriptions","organizations_url":"https://api.github.com/users/columbus-elixir/orgs","repos_url":"https://api.github.com/users/columbus-elixir/repos","events_url":"https://api.github.com/users/columbus-elixir/events{/privacy}","received_events_url":"https://api.github.com/users/columbus-elixir/received_events","type":"Organization","site_admin":false},"repo":{"id":121268118,"name":"marketing","full_name":"columbus-elixir/marketing","owner":{"login":"columbus-elixir","id":36415128,"avatar_url":"https://avatars0.githubusercontent.com/u/36415128?v=4","gravatar_id":"","url":"https://api.github.com/users/columbus-elixir","html_url":"https://github.com/columbus-elixir","followers_url":"https://api.github.com/users/columbus-elixir/followers","following_url":"https://api.github.com/users/columbus-elixir/following{/other_user}","gists_url":"https://api.github.com/users/columbus-elixir/gists{/gist_id}","starred_url":"https://api.github.com/users/columbus-elixir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/columbus-elixir/subscriptions","organizations_url":"https://api.github.com/users/columbus-elixir/orgs","repos_url":"https://api.github.com/users/columbus-elixir/repos","events_url":"https://api.github.com/users/columbus-elixir/events{/privacy}","received_events_url":"https://api.github.com/users/columbus-elixir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/columbus-elixir/marketing","description":null,"fork":false,"url":"https://api.github.com/repos/columbus-elixir/marketing","forks_url":"https://api.github.com/repos/columbus-elixir/marketing/forks","keys_url":"https://api.github.com/repos/columbus-elixir/marketing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/columbus-elixir/marketing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/columbus-elixir/marketing/teams","hooks_url":"https://api.github.com/repos/columbus-elixir/marketing/hooks","issue_events_url":"https://api.github.com/repos/columbus-elixir/marketing/issues/events{/number}","events_url":"https://api.github.com/repos/columbus-elixir/marketing/events","assignees_url":"https://api.github.com/repos/columbus-elixir/marketing/assignees{/user}","branches_url":"https://api.github.com/repos/columbus-elixir/marketing/branches{/branch}","tags_url":"https://api.github.com/repos/columbus-elixir/marketing/tags","blobs_url":"https://api.github.com/repos/columbus-elixir/marketing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/columbus-elixir/marketing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/columbus-elixir/marketing/git/refs{/sha}","trees_url":"https://api.github.com/repos/columbus-elixir/marketing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/columbus-elixir/marketing/statuses/{sha}","languages_url":"https://api.github.com/repos/columbus-elixir/marketing/languages","stargazers_url":"https://api.github.com/repos/columbus-elixir/marketing/stargazers","contributors_url":"https://api.github.com/repos/columbus-elixir/marketing/contributors","subscribers_url":"https://api.github.com/repos/columbus-elixir/marketing/subscribers","subscription_url":"https://api.github.com/repos/columbus-elixir/marketing/subscription","commits_url":"https://api.github.com/repos/columbus-elixir/marketing/commits{/sha}","git_commits_url":"https://api.github.com/repos/columbus-elixir/marketing/git/commits{/sha}","comments_url":"https://api.github.com/repos/columbus-elixir/marketing/comments{/number}","issue_comment_url":"https://api.github.com/repos/columbus-elixir/marketing/issues/comments{/number}","contents_url":"https://api.github.com/repos/columbus-elixir/marketing/contents/{+path}","compare_url":"https://api.github.com/repos/columbus-elixir/marketing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/columbus-elixir/marketing/merges","archive_url":"https://api.github.com/repos/columbus-elixir/marketing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/columbus-elixir/marketing/downloads","issues_url":"https://api.github.com/repos/columbus-elixir/marketing/issues{/number}","pulls_url":"https://api.github.com/repos/columbus-elixir/marketing/pulls{/number}","milestones_url":"https://api.github.com/repos/columbus-elixir/marketing/milestones{/number}","notifications_url":"https://api.github.com/repos/columbus-elixir/marketing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/columbus-elixir/marketing/labels{/name}","releases_url":"https://api.github.com/repos/columbus-elixir/marketing/releases{/id}","deployments_url":"https://api.github.com/repos/columbus-elixir/marketing/deployments","created_at":"2018-02-12T16:01:39Z","updated_at":"2018-02-19T03:34:03Z","pushed_at":"2018-02-21T00:42:50Z","git_url":"git://github.com/columbus-elixir/marketing.git","ssh_url":"git@github.com:columbus-elixir/marketing.git","clone_url":"https://github.com/columbus-elixir/marketing.git","svn_url":"https://github.com/columbus-elixir/marketing","homepage":null,"size":1075,"stargazers_count":3,"watchers_count":3,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":1,"open_issues":10,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26"},"html":{"href":"https://github.com/columbus-elixir/marketing/pull/26"},"issue":{"href":"https://api.github.com/repos/columbus-elixir/marketing/issues/26"},"comments":{"href":"https://api.github.com/repos/columbus-elixir/marketing/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/columbus-elixir/marketing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/columbus-elixir/marketing/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/columbus-elixir/marketing/statuses/e693949e14cb70fca6c63d2f3869b446fbea8bb8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Kartstig"}}