{"action":"created","comment":{"url":"https://api.github.com/repos/talis/talis_rb/pulls/comments/90023828","pull_request_review_id":10549319,"id":90023828,"diff_hunk":"@@ -128,6 +111,41 @@ def delete(request_id: self.class.new_req_id)\n         self.class.handle_response(error)\n       end\n \n+      private\n+\n+      # Internal part of save method. Adds asset to nodes\n+      # @param request_id [String] ('uuid') unique ID for the remote request.\n+      def add_to_nodes(request_id)\n+        @nodes.each { |node| add_to_node(request_id, node) }","path":"lib/talis/hierarchy/asset.rb","position":113,"original_position":113,"commit_id":"b613c08f67ae45762964dbeef201f905eddc2c25","original_commit_id":"4fdac5c1c77e8bed47e9e2a08b0e32bbb701abf4","user":{"login":"pads","id":557957,"avatar_url":"https://avatars.githubusercontent.com/u/557957?v=3","gravatar_id":"","url":"https://api.github.com/users/pads","html_url":"https://github.com/pads","followers_url":"https://api.github.com/users/pads/followers","following_url":"https://api.github.com/users/pads/following{/other_user}","gists_url":"https://api.github.com/users/pads/gists{/gist_id}","starred_url":"https://api.github.com/users/pads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pads/subscriptions","organizations_url":"https://api.github.com/users/pads/orgs","repos_url":"https://api.github.com/users/pads/repos","events_url":"https://api.github.com/users/pads/events{/privacy}","received_events_url":"https://api.github.com/users/pads/received_events","type":"User","site_admin":false},"body":"Doesn't this highlight that the Blueprint API needs to accept multiple nodes in one go? I'd rather fix this issue there than have to into threading/async madness. At the moment, we're only going to be adding 2 nodes tops at the moment.","created_at":"2016-11-29T14:53:29Z","updated_at":"2016-11-29T14:53:29Z","html_url":"https://github.com/talis/talis_rb/pull/25#discussion_r90023828","pull_request_url":"https://api.github.com/repos/talis/talis_rb/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/talis/talis_rb/pulls/comments/90023828"},"html":{"href":"https://github.com/talis/talis_rb/pull/25#discussion_r90023828"},"pull_request":{"href":"https://api.github.com/repos/talis/talis_rb/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/talis/talis_rb/pulls/25","id":95484828,"html_url":"https://github.com/talis/talis_rb/pull/25","diff_url":"https://github.com/talis/talis_rb/pull/25.diff","patch_url":"https://github.com/talis/talis_rb/pull/25.patch","issue_url":"https://api.github.com/repos/talis/talis_rb/issues/25","number":25,"state":"open","locked":false,"title":"90% Plat 574 save updates","user":{"login":"malcyL","id":232529,"avatar_url":"https://avatars.githubusercontent.com/u/232529?v=3","gravatar_id":"","url":"https://api.github.com/users/malcyL","html_url":"https://github.com/malcyL","followers_url":"https://api.github.com/users/malcyL/followers","following_url":"https://api.github.com/users/malcyL/following{/other_user}","gists_url":"https://api.github.com/users/malcyL/gists{/gist_id}","starred_url":"https://api.github.com/users/malcyL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcyL/subscriptions","organizations_url":"https://api.github.com/users/malcyL/orgs","repos_url":"https://api.github.com/users/malcyL/repos","events_url":"https://api.github.com/users/malcyL/events{/privacy}","received_events_url":"https://api.github.com/users/malcyL/received_events","type":"User","site_admin":false},"body":"This builds on the changes in PR #24.\r\n\r\nCurrently when creating an asset with attributes it is necessary to save and then update.\r\n\r\nThis PR removes the update method on asset and merges the functionality into save. save will update the nodes or attributes as appropriate","created_at":"2016-11-28T11:52:56Z","updated_at":"2016-11-29T14:53:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3830faafb373076ff92b41a945946214451098b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/talis/talis_rb/pulls/25/commits","review_comments_url":"https://api.github.com/repos/talis/talis_rb/pulls/25/comments","review_comment_url":"https://api.github.com/repos/talis/talis_rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/talis/talis_rb/issues/25/comments","statuses_url":"https://api.github.com/repos/talis/talis_rb/statuses/b613c08f67ae45762964dbeef201f905eddc2c25","head":{"label":"talis:PLAT_574_save_updates","ref":"PLAT_574_save_updates","sha":"b613c08f67ae45762964dbeef201f905eddc2c25","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":52996292,"name":"talis_rb","full_name":"talis/talis_rb","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/talis_rb","description":"A ruby gem that provides interactions with Talis primitives.","fork":false,"url":"https://api.github.com/repos/talis/talis_rb","forks_url":"https://api.github.com/repos/talis/talis_rb/forks","keys_url":"https://api.github.com/repos/talis/talis_rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/talis_rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/talis_rb/teams","hooks_url":"https://api.github.com/repos/talis/talis_rb/hooks","issue_events_url":"https://api.github.com/repos/talis/talis_rb/issues/events{/number}","events_url":"https://api.github.com/repos/talis/talis_rb/events","assignees_url":"https://api.github.com/repos/talis/talis_rb/assignees{/user}","branches_url":"https://api.github.com/repos/talis/talis_rb/branches{/branch}","tags_url":"https://api.github.com/repos/talis/talis_rb/tags","blobs_url":"https://api.github.com/repos/talis/talis_rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/talis_rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/talis_rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/talis_rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/talis_rb/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/talis_rb/languages","stargazers_url":"https://api.github.com/repos/talis/talis_rb/stargazers","contributors_url":"https://api.github.com/repos/talis/talis_rb/contributors","subscribers_url":"https://api.github.com/repos/talis/talis_rb/subscribers","subscription_url":"https://api.github.com/repos/talis/talis_rb/subscription","commits_url":"https://api.github.com/repos/talis/talis_rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/talis_rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/talis_rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/talis_rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/talis_rb/contents/{+path}","compare_url":"https://api.github.com/repos/talis/talis_rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/talis_rb/merges","archive_url":"https://api.github.com/repos/talis/talis_rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/talis_rb/downloads","issues_url":"https://api.github.com/repos/talis/talis_rb/issues{/number}","pulls_url":"https://api.github.com/repos/talis/talis_rb/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/talis_rb/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/talis_rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/talis_rb/labels{/name}","releases_url":"https://api.github.com/repos/talis/talis_rb/releases{/id}","deployments_url":"https://api.github.com/repos/talis/talis_rb/deployments","created_at":"2016-03-02T21:03:49Z","updated_at":"2016-11-03T15:19:32Z","pushed_at":"2016-11-29T14:34:03Z","git_url":"git://github.com/talis/talis_rb.git","ssh_url":"git@github.com:talis/talis_rb.git","clone_url":"https://github.com/talis/talis_rb.git","svn_url":"https://github.com/talis/talis_rb","homepage":"","size":257,"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":"master"}},"base":{"label":"talis:master","ref":"master","sha":"159525a2b16926d14cb9ea3218f4cfa4ac8fc7f7","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":52996292,"name":"talis_rb","full_name":"talis/talis_rb","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/talis_rb","description":"A ruby gem that provides interactions with Talis primitives.","fork":false,"url":"https://api.github.com/repos/talis/talis_rb","forks_url":"https://api.github.com/repos/talis/talis_rb/forks","keys_url":"https://api.github.com/repos/talis/talis_rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/talis_rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/talis_rb/teams","hooks_url":"https://api.github.com/repos/talis/talis_rb/hooks","issue_events_url":"https://api.github.com/repos/talis/talis_rb/issues/events{/number}","events_url":"https://api.github.com/repos/talis/talis_rb/events","assignees_url":"https://api.github.com/repos/talis/talis_rb/assignees{/user}","branches_url":"https://api.github.com/repos/talis/talis_rb/branches{/branch}","tags_url":"https://api.github.com/repos/talis/talis_rb/tags","blobs_url":"https://api.github.com/repos/talis/talis_rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/talis_rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/talis_rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/talis_rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/talis_rb/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/talis_rb/languages","stargazers_url":"https://api.github.com/repos/talis/talis_rb/stargazers","contributors_url":"https://api.github.com/repos/talis/talis_rb/contributors","subscribers_url":"https://api.github.com/repos/talis/talis_rb/subscribers","subscription_url":"https://api.github.com/repos/talis/talis_rb/subscription","commits_url":"https://api.github.com/repos/talis/talis_rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/talis_rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/talis_rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/talis_rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/talis/talis_rb/contents/{+path}","compare_url":"https://api.github.com/repos/talis/talis_rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/talis_rb/merges","archive_url":"https://api.github.com/repos/talis/talis_rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/talis_rb/downloads","issues_url":"https://api.github.com/repos/talis/talis_rb/issues{/number}","pulls_url":"https://api.github.com/repos/talis/talis_rb/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/talis_rb/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/talis_rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/talis_rb/labels{/name}","releases_url":"https://api.github.com/repos/talis/talis_rb/releases{/id}","deployments_url":"https://api.github.com/repos/talis/talis_rb/deployments","created_at":"2016-03-02T21:03:49Z","updated_at":"2016-11-03T15:19:32Z","pushed_at":"2016-11-29T14:34:03Z","git_url":"git://github.com/talis/talis_rb.git","ssh_url":"git@github.com:talis/talis_rb.git","clone_url":"https://github.com/talis/talis_rb.git","svn_url":"https://github.com/talis/talis_rb","homepage":"","size":257,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/talis/talis_rb/pulls/25"},"html":{"href":"https://github.com/talis/talis_rb/pull/25"},"issue":{"href":"https://api.github.com/repos/talis/talis_rb/issues/25"},"comments":{"href":"https://api.github.com/repos/talis/talis_rb/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/talis/talis_rb/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/talis/talis_rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/talis/talis_rb/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/talis/talis_rb/statuses/b613c08f67ae45762964dbeef201f905eddc2c25"}}}}
{"actor":{"display_login":"pads"}}