{"action":"created","comment":{"url":"https://api.github.com/repos/clarat-org/claradmin/pulls/comments/92603063","pull_request_review_id":13121382,"id":92603063,"diff_hunk":"@@ -0,0 +1,39 @@\n+# frozen_string_literal: true\n+module API::V1\n+  module OfferTranslation\n+    class Create < API::V1::BaseTranslation::Create\n+      include Model\n+      model ::OfferTranslation, :create\n+\n+      include Trailblazer::Operation::Representer\n+      representer API::V1::OfferTranslation::Representer::Show\n+\n+      contract do\n+        property :name\n+        property :description\n+        property :opening_specification\n+        property :source\n+        property :locale\n+        property :possibly_outdated\n+        property :offer_id\n+      end\n+\n+      def process(params)\n+        if validate(params[:json], model)\n+          contract.save\n+          # super-call for assignable side_effects\n+          super(params)\n+        else\n+          raise \"OfferTranslation form has errors: #{contract.errors.full_messages}\"\n+        end\n+      end\n+\n+      protected\n+\n+      def created_by_system?","path":"app/concepts/api/v1/offer_translation/create.rb","position":33,"original_position":33,"commit_id":"6fa7c720bcd684f1ce8f6817c92b0efdb6f7bd8c","original_commit_id":"6fa7c720bcd684f1ce8f6817c92b0efdb6f7bd8c","user":{"login":"KonstantinKo","id":779660,"avatar_url":"https://avatars.githubusercontent.com/u/779660?v=3","gravatar_id":"","url":"https://api.github.com/users/KonstantinKo","html_url":"https://github.com/KonstantinKo","followers_url":"https://api.github.com/users/KonstantinKo/followers","following_url":"https://api.github.com/users/KonstantinKo/following{/other_user}","gists_url":"https://api.github.com/users/KonstantinKo/gists{/gist_id}","starred_url":"https://api.github.com/users/KonstantinKo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KonstantinKo/subscriptions","organizations_url":"https://api.github.com/users/KonstantinKo/orgs","repos_url":"https://api.github.com/users/KonstantinKo/repos","events_url":"https://api.github.com/users/KonstantinKo/events{/privacy}","received_events_url":"https://api.github.com/users/KonstantinKo/received_events","type":"User","site_admin":false},"body":"assignment by system","created_at":"2016-12-15T12:54:47Z","updated_at":"2016-12-15T12:54:47Z","html_url":"https://github.com/clarat-org/claradmin/pull/87#discussion_r92603063","pull_request_url":"https://api.github.com/repos/clarat-org/claradmin/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/clarat-org/claradmin/pulls/comments/92603063"},"html":{"href":"https://github.com/clarat-org/claradmin/pull/87#discussion_r92603063"},"pull_request":{"href":"https://api.github.com/repos/clarat-org/claradmin/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/clarat-org/claradmin/pulls/87","id":98128196,"html_url":"https://github.com/clarat-org/claradmin/pull/87","diff_url":"https://github.com/clarat-org/claradmin/pull/87.diff","patch_url":"https://github.com/clarat-org/claradmin/pull/87.patch","issue_url":"https://api.github.com/repos/clarat-org/claradmin/issues/87","number":87,"state":"open","locked":false,"title":"Feature/878 refactoring operations","user":{"login":"NilsVollmer","id":1733220,"avatar_url":"https://avatars.githubusercontent.com/u/1733220?v=3","gravatar_id":"","url":"https://api.github.com/users/NilsVollmer","html_url":"https://github.com/NilsVollmer","followers_url":"https://api.github.com/users/NilsVollmer/followers","following_url":"https://api.github.com/users/NilsVollmer/following{/other_user}","gists_url":"https://api.github.com/users/NilsVollmer/gists{/gist_id}","starred_url":"https://api.github.com/users/NilsVollmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NilsVollmer/subscriptions","organizations_url":"https://api.github.com/users/NilsVollmer/orgs","repos_url":"https://api.github.com/users/NilsVollmer/repos","events_url":"https://api.github.com/users/NilsVollmer/events{/privacy}","received_events_url":"https://api.github.com/users/NilsVollmer/received_events","type":"User","site_admin":false},"body":"-> clarat-org/clarat#878","created_at":"2016-12-15T10:58:18Z","updated_at":"2016-12-15T12:54:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9e2c494971f8e6de1598a3915e0e9732c3ee2d2","assignee":{"login":"KonstantinKo","id":779660,"avatar_url":"https://avatars.githubusercontent.com/u/779660?v=3","gravatar_id":"","url":"https://api.github.com/users/KonstantinKo","html_url":"https://github.com/KonstantinKo","followers_url":"https://api.github.com/users/KonstantinKo/followers","following_url":"https://api.github.com/users/KonstantinKo/following{/other_user}","gists_url":"https://api.github.com/users/KonstantinKo/gists{/gist_id}","starred_url":"https://api.github.com/users/KonstantinKo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KonstantinKo/subscriptions","organizations_url":"https://api.github.com/users/KonstantinKo/orgs","repos_url":"https://api.github.com/users/KonstantinKo/repos","events_url":"https://api.github.com/users/KonstantinKo/events{/privacy}","received_events_url":"https://api.github.com/users/KonstantinKo/received_events","type":"User","site_admin":false},"assignees":[{"login":"KonstantinKo","id":779660,"avatar_url":"https://avatars.githubusercontent.com/u/779660?v=3","gravatar_id":"","url":"https://api.github.com/users/KonstantinKo","html_url":"https://github.com/KonstantinKo","followers_url":"https://api.github.com/users/KonstantinKo/followers","following_url":"https://api.github.com/users/KonstantinKo/following{/other_user}","gists_url":"https://api.github.com/users/KonstantinKo/gists{/gist_id}","starred_url":"https://api.github.com/users/KonstantinKo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KonstantinKo/subscriptions","organizations_url":"https://api.github.com/users/KonstantinKo/orgs","repos_url":"https://api.github.com/users/KonstantinKo/repos","events_url":"https://api.github.com/users/KonstantinKo/events{/privacy}","received_events_url":"https://api.github.com/users/KonstantinKo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/clarat-org/claradmin/pulls/87/commits","review_comments_url":"https://api.github.com/repos/clarat-org/claradmin/pulls/87/comments","review_comment_url":"https://api.github.com/repos/clarat-org/claradmin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clarat-org/claradmin/issues/87/comments","statuses_url":"https://api.github.com/repos/clarat-org/claradmin/statuses/6fa7c720bcd684f1ce8f6817c92b0efdb6f7bd8c","head":{"label":"clarat-org:feature/878-refactoring-operations","ref":"feature/878-refactoring-operations","sha":"6fa7c720bcd684f1ce8f6817c92b0efdb6f7bd8c","user":{"login":"clarat-org","id":8734408,"avatar_url":"https://avatars.githubusercontent.com/u/8734408?v=3","gravatar_id":"","url":"https://api.github.com/users/clarat-org","html_url":"https://github.com/clarat-org","followers_url":"https://api.github.com/users/clarat-org/followers","following_url":"https://api.github.com/users/clarat-org/following{/other_user}","gists_url":"https://api.github.com/users/clarat-org/gists{/gist_id}","starred_url":"https://api.github.com/users/clarat-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarat-org/subscriptions","organizations_url":"https://api.github.com/users/clarat-org/orgs","repos_url":"https://api.github.com/users/clarat-org/repos","events_url":"https://api.github.com/users/clarat-org/events{/privacy}","received_events_url":"https://api.github.com/users/clarat-org/received_events","type":"Organization","site_admin":false},"repo":{"id":43431233,"name":"claradmin","full_name":"clarat-org/claradmin","owner":{"login":"clarat-org","id":8734408,"avatar_url":"https://avatars.githubusercontent.com/u/8734408?v=3","gravatar_id":"","url":"https://api.github.com/users/clarat-org","html_url":"https://github.com/clarat-org","followers_url":"https://api.github.com/users/clarat-org/followers","following_url":"https://api.github.com/users/clarat-org/following{/other_user}","gists_url":"https://api.github.com/users/clarat-org/gists{/gist_id}","starred_url":"https://api.github.com/users/clarat-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarat-org/subscriptions","organizations_url":"https://api.github.com/users/clarat-org/orgs","repos_url":"https://api.github.com/users/clarat-org/repos","events_url":"https://api.github.com/users/clarat-org/events{/privacy}","received_events_url":"https://api.github.com/users/clarat-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clarat-org/claradmin","description":"clarat admin backend","fork":false,"url":"https://api.github.com/repos/clarat-org/claradmin","forks_url":"https://api.github.com/repos/clarat-org/claradmin/forks","keys_url":"https://api.github.com/repos/clarat-org/claradmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clarat-org/claradmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clarat-org/claradmin/teams","hooks_url":"https://api.github.com/repos/clarat-org/claradmin/hooks","issue_events_url":"https://api.github.com/repos/clarat-org/claradmin/issues/events{/number}","events_url":"https://api.github.com/repos/clarat-org/claradmin/events","assignees_url":"https://api.github.com/repos/clarat-org/claradmin/assignees{/user}","branches_url":"https://api.github.com/repos/clarat-org/claradmin/branches{/branch}","tags_url":"https://api.github.com/repos/clarat-org/claradmin/tags","blobs_url":"https://api.github.com/repos/clarat-org/claradmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clarat-org/claradmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clarat-org/claradmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/clarat-org/claradmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clarat-org/claradmin/statuses/{sha}","languages_url":"https://api.github.com/repos/clarat-org/claradmin/languages","stargazers_url":"https://api.github.com/repos/clarat-org/claradmin/stargazers","contributors_url":"https://api.github.com/repos/clarat-org/claradmin/contributors","subscribers_url":"https://api.github.com/repos/clarat-org/claradmin/subscribers","subscription_url":"https://api.github.com/repos/clarat-org/claradmin/subscription","commits_url":"https://api.github.com/repos/clarat-org/claradmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/clarat-org/claradmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/clarat-org/claradmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/clarat-org/claradmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/clarat-org/claradmin/contents/{+path}","compare_url":"https://api.github.com/repos/clarat-org/claradmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clarat-org/claradmin/merges","archive_url":"https://api.github.com/repos/clarat-org/claradmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clarat-org/claradmin/downloads","issues_url":"https://api.github.com/repos/clarat-org/claradmin/issues{/number}","pulls_url":"https://api.github.com/repos/clarat-org/claradmin/pulls{/number}","milestones_url":"https://api.github.com/repos/clarat-org/claradmin/milestones{/number}","notifications_url":"https://api.github.com/repos/clarat-org/claradmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clarat-org/claradmin/labels{/name}","releases_url":"https://api.github.com/repos/clarat-org/claradmin/releases{/id}","deployments_url":"https://api.github.com/repos/clarat-org/claradmin/deployments","created_at":"2015-09-30T12:20:26Z","updated_at":"2016-01-15T14:09:12Z","pushed_at":"2016-12-15T12:45:59Z","git_url":"git://github.com/clarat-org/claradmin.git","ssh_url":"git@github.com:clarat-org/claradmin.git","clone_url":"https://github.com/clarat-org/claradmin.git","svn_url":"https://github.com/clarat-org/claradmin","homepage":null,"size":2830,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"clarat-org:develop","ref":"develop","sha":"f96e6c536a2d18f88c60f0900a18c144ce2ed055","user":{"login":"clarat-org","id":8734408,"avatar_url":"https://avatars.githubusercontent.com/u/8734408?v=3","gravatar_id":"","url":"https://api.github.com/users/clarat-org","html_url":"https://github.com/clarat-org","followers_url":"https://api.github.com/users/clarat-org/followers","following_url":"https://api.github.com/users/clarat-org/following{/other_user}","gists_url":"https://api.github.com/users/clarat-org/gists{/gist_id}","starred_url":"https://api.github.com/users/clarat-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarat-org/subscriptions","organizations_url":"https://api.github.com/users/clarat-org/orgs","repos_url":"https://api.github.com/users/clarat-org/repos","events_url":"https://api.github.com/users/clarat-org/events{/privacy}","received_events_url":"https://api.github.com/users/clarat-org/received_events","type":"Organization","site_admin":false},"repo":{"id":43431233,"name":"claradmin","full_name":"clarat-org/claradmin","owner":{"login":"clarat-org","id":8734408,"avatar_url":"https://avatars.githubusercontent.com/u/8734408?v=3","gravatar_id":"","url":"https://api.github.com/users/clarat-org","html_url":"https://github.com/clarat-org","followers_url":"https://api.github.com/users/clarat-org/followers","following_url":"https://api.github.com/users/clarat-org/following{/other_user}","gists_url":"https://api.github.com/users/clarat-org/gists{/gist_id}","starred_url":"https://api.github.com/users/clarat-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarat-org/subscriptions","organizations_url":"https://api.github.com/users/clarat-org/orgs","repos_url":"https://api.github.com/users/clarat-org/repos","events_url":"https://api.github.com/users/clarat-org/events{/privacy}","received_events_url":"https://api.github.com/users/clarat-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clarat-org/claradmin","description":"clarat admin backend","fork":false,"url":"https://api.github.com/repos/clarat-org/claradmin","forks_url":"https://api.github.com/repos/clarat-org/claradmin/forks","keys_url":"https://api.github.com/repos/clarat-org/claradmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clarat-org/claradmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clarat-org/claradmin/teams","hooks_url":"https://api.github.com/repos/clarat-org/claradmin/hooks","issue_events_url":"https://api.github.com/repos/clarat-org/claradmin/issues/events{/number}","events_url":"https://api.github.com/repos/clarat-org/claradmin/events","assignees_url":"https://api.github.com/repos/clarat-org/claradmin/assignees{/user}","branches_url":"https://api.github.com/repos/clarat-org/claradmin/branches{/branch}","tags_url":"https://api.github.com/repos/clarat-org/claradmin/tags","blobs_url":"https://api.github.com/repos/clarat-org/claradmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clarat-org/claradmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clarat-org/claradmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/clarat-org/claradmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clarat-org/claradmin/statuses/{sha}","languages_url":"https://api.github.com/repos/clarat-org/claradmin/languages","stargazers_url":"https://api.github.com/repos/clarat-org/claradmin/stargazers","contributors_url":"https://api.github.com/repos/clarat-org/claradmin/contributors","subscribers_url":"https://api.github.com/repos/clarat-org/claradmin/subscribers","subscription_url":"https://api.github.com/repos/clarat-org/claradmin/subscription","commits_url":"https://api.github.com/repos/clarat-org/claradmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/clarat-org/claradmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/clarat-org/claradmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/clarat-org/claradmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/clarat-org/claradmin/contents/{+path}","compare_url":"https://api.github.com/repos/clarat-org/claradmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clarat-org/claradmin/merges","archive_url":"https://api.github.com/repos/clarat-org/claradmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clarat-org/claradmin/downloads","issues_url":"https://api.github.com/repos/clarat-org/claradmin/issues{/number}","pulls_url":"https://api.github.com/repos/clarat-org/claradmin/pulls{/number}","milestones_url":"https://api.github.com/repos/clarat-org/claradmin/milestones{/number}","notifications_url":"https://api.github.com/repos/clarat-org/claradmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clarat-org/claradmin/labels{/name}","releases_url":"https://api.github.com/repos/clarat-org/claradmin/releases{/id}","deployments_url":"https://api.github.com/repos/clarat-org/claradmin/deployments","created_at":"2015-09-30T12:20:26Z","updated_at":"2016-01-15T14:09:12Z","pushed_at":"2016-12-15T12:45:59Z","git_url":"git://github.com/clarat-org/claradmin.git","ssh_url":"git@github.com:clarat-org/claradmin.git","clone_url":"https://github.com/clarat-org/claradmin.git","svn_url":"https://github.com/clarat-org/claradmin","homepage":null,"size":2830,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/clarat-org/claradmin/pulls/87"},"html":{"href":"https://github.com/clarat-org/claradmin/pull/87"},"issue":{"href":"https://api.github.com/repos/clarat-org/claradmin/issues/87"},"comments":{"href":"https://api.github.com/repos/clarat-org/claradmin/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/clarat-org/claradmin/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/clarat-org/claradmin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clarat-org/claradmin/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/clarat-org/claradmin/statuses/6fa7c720bcd684f1ce8f6817c92b0efdb6f7bd8c"}}}}
{"actor":{"display_login":"KonstantinKo"}}