{"action":"created","comment":{"url":"https://api.github.com/repos/rezzza/skippy/pulls/comments/38424094","id":38424094,"diff_hunk":"@@ -0,0 +1,28 @@\n+'use strict';\n+\n+/**\n+ * @param {String} methodName\n+ * @param {ServiceArgumentCollection} serviceArgumentCollection\n+ */\n+var Call = function Call(methodName, serviceArgumentCollection) {\n+    this.methodName = methodName;\n+    this.serviceArgumentCollection = serviceArgumentCollection;\n+};\n+\n+/**\n+ * @param {Container} container\n+ * @param {Object} instance\n+ */\n+Call.prototype.trigger = function trigger(container, instance) {\n+    if (!instance[this.methodName]) {\n+        throw new Error('Can\\'t call the given method: \"' + this.methodName + '\" does not exist on the given instance.');","path":"src/Call.js","position":18,"original_position":18,"commit_id":"f88c1a182bc2b7166b5594c4d91dda7fc1973bb9","original_commit_id":"4b38d991714bf202a76ab2f65ef264849ab05f7a","user":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"body":"I've add check on container initialization. These check stay \"just in case\".","created_at":"2015-09-01T14:25:11Z","updated_at":"2015-09-01T14:25:11Z","html_url":"https://github.com/rezzza/skippy/pull/20#discussion_r38424094","pull_request_url":"https://api.github.com/repos/rezzza/skippy/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/rezzza/skippy/pulls/comments/38424094"},"html":{"href":"https://github.com/rezzza/skippy/pull/20#discussion_r38424094"},"pull_request":{"href":"https://api.github.com/repos/rezzza/skippy/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/rezzza/skippy/pulls/20","id":43776797,"html_url":"https://github.com/rezzza/skippy/pull/20","diff_url":"https://github.com/rezzza/skippy/pull/20.diff","patch_url":"https://github.com/rezzza/skippy/pull/20.patch","issue_url":"https://api.github.com/repos/rezzza/skippy/issues/20","number":20,"state":"open","locked":false,"title":"Implement post instanciation method call on service","user":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"body":"- Add check cyclic dependencies on call hook (not needed)\r\n- [x] Rename the `ServiceArgumentCollection` to `ArgumentCollection` and `ServiceArgument` to `Argument`","created_at":"2015-08-31T15:33:15Z","updated_at":"2015-09-01T14:25:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e47ebe68a1866cdf9d161f4bb08003231f632cb","assignee":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rezzza/skippy/pulls/20/commits","review_comments_url":"https://api.github.com/repos/rezzza/skippy/pulls/20/comments","review_comment_url":"https://api.github.com/repos/rezzza/skippy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rezzza/skippy/issues/20/comments","statuses_url":"https://api.github.com/repos/rezzza/skippy/statuses/f88c1a182bc2b7166b5594c4d91dda7fc1973bb9","head":{"label":"Spy-Seth:hooks","ref":"hooks","sha":"f88c1a182bc2b7166b5594c4d91dda7fc1973bb9","user":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"repo":{"id":39635009,"name":"skippy","full_name":"Spy-Seth/skippy","owner":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Spy-Seth/skippy","description":"Simple and robust dependency container","fork":true,"url":"https://api.github.com/repos/Spy-Seth/skippy","forks_url":"https://api.github.com/repos/Spy-Seth/skippy/forks","keys_url":"https://api.github.com/repos/Spy-Seth/skippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Spy-Seth/skippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Spy-Seth/skippy/teams","hooks_url":"https://api.github.com/repos/Spy-Seth/skippy/hooks","issue_events_url":"https://api.github.com/repos/Spy-Seth/skippy/issues/events{/number}","events_url":"https://api.github.com/repos/Spy-Seth/skippy/events","assignees_url":"https://api.github.com/repos/Spy-Seth/skippy/assignees{/user}","branches_url":"https://api.github.com/repos/Spy-Seth/skippy/branches{/branch}","tags_url":"https://api.github.com/repos/Spy-Seth/skippy/tags","blobs_url":"https://api.github.com/repos/Spy-Seth/skippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Spy-Seth/skippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Spy-Seth/skippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Spy-Seth/skippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Spy-Seth/skippy/statuses/{sha}","languages_url":"https://api.github.com/repos/Spy-Seth/skippy/languages","stargazers_url":"https://api.github.com/repos/Spy-Seth/skippy/stargazers","contributors_url":"https://api.github.com/repos/Spy-Seth/skippy/contributors","subscribers_url":"https://api.github.com/repos/Spy-Seth/skippy/subscribers","subscription_url":"https://api.github.com/repos/Spy-Seth/skippy/subscription","commits_url":"https://api.github.com/repos/Spy-Seth/skippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Spy-Seth/skippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Spy-Seth/skippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Spy-Seth/skippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Spy-Seth/skippy/contents/{+path}","compare_url":"https://api.github.com/repos/Spy-Seth/skippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Spy-Seth/skippy/merges","archive_url":"https://api.github.com/repos/Spy-Seth/skippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Spy-Seth/skippy/downloads","issues_url":"https://api.github.com/repos/Spy-Seth/skippy/issues{/number}","pulls_url":"https://api.github.com/repos/Spy-Seth/skippy/pulls{/number}","milestones_url":"https://api.github.com/repos/Spy-Seth/skippy/milestones{/number}","notifications_url":"https://api.github.com/repos/Spy-Seth/skippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Spy-Seth/skippy/labels{/name}","releases_url":"https://api.github.com/repos/Spy-Seth/skippy/releases{/id}","created_at":"2015-07-24T13:25:09Z","updated_at":"2015-07-24T13:25:09Z","pushed_at":"2015-09-01T14:23:15Z","git_url":"git://github.com/Spy-Seth/skippy.git","ssh_url":"git@github.com:Spy-Seth/skippy.git","clone_url":"https://github.com/Spy-Seth/skippy.git","svn_url":"https://github.com/Spy-Seth/skippy","homepage":"","size":169,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rezzza:master","ref":"master","sha":"0295c52d05ab773db00543caf13555ac38c79269","user":{"login":"rezzza","id":1461276,"avatar_url":"https://avatars.githubusercontent.com/u/1461276?v=3","gravatar_id":"","url":"https://api.github.com/users/rezzza","html_url":"https://github.com/rezzza","followers_url":"https://api.github.com/users/rezzza/followers","following_url":"https://api.github.com/users/rezzza/following{/other_user}","gists_url":"https://api.github.com/users/rezzza/gists{/gist_id}","starred_url":"https://api.github.com/users/rezzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezzza/subscriptions","organizations_url":"https://api.github.com/users/rezzza/orgs","repos_url":"https://api.github.com/users/rezzza/repos","events_url":"https://api.github.com/users/rezzza/events{/privacy}","received_events_url":"https://api.github.com/users/rezzza/received_events","type":"Organization","site_admin":false},"repo":{"id":37016867,"name":"skippy","full_name":"rezzza/skippy","owner":{"login":"rezzza","id":1461276,"avatar_url":"https://avatars.githubusercontent.com/u/1461276?v=3","gravatar_id":"","url":"https://api.github.com/users/rezzza","html_url":"https://github.com/rezzza","followers_url":"https://api.github.com/users/rezzza/followers","following_url":"https://api.github.com/users/rezzza/following{/other_user}","gists_url":"https://api.github.com/users/rezzza/gists{/gist_id}","starred_url":"https://api.github.com/users/rezzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezzza/subscriptions","organizations_url":"https://api.github.com/users/rezzza/orgs","repos_url":"https://api.github.com/users/rezzza/repos","events_url":"https://api.github.com/users/rezzza/events{/privacy}","received_events_url":"https://api.github.com/users/rezzza/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rezzza/skippy","description":"Simple and robust javascript dependency container","fork":false,"url":"https://api.github.com/repos/rezzza/skippy","forks_url":"https://api.github.com/repos/rezzza/skippy/forks","keys_url":"https://api.github.com/repos/rezzza/skippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rezzza/skippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rezzza/skippy/teams","hooks_url":"https://api.github.com/repos/rezzza/skippy/hooks","issue_events_url":"https://api.github.com/repos/rezzza/skippy/issues/events{/number}","events_url":"https://api.github.com/repos/rezzza/skippy/events","assignees_url":"https://api.github.com/repos/rezzza/skippy/assignees{/user}","branches_url":"https://api.github.com/repos/rezzza/skippy/branches{/branch}","tags_url":"https://api.github.com/repos/rezzza/skippy/tags","blobs_url":"https://api.github.com/repos/rezzza/skippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rezzza/skippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rezzza/skippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rezzza/skippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rezzza/skippy/statuses/{sha}","languages_url":"https://api.github.com/repos/rezzza/skippy/languages","stargazers_url":"https://api.github.com/repos/rezzza/skippy/stargazers","contributors_url":"https://api.github.com/repos/rezzza/skippy/contributors","subscribers_url":"https://api.github.com/repos/rezzza/skippy/subscribers","subscription_url":"https://api.github.com/repos/rezzza/skippy/subscription","commits_url":"https://api.github.com/repos/rezzza/skippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rezzza/skippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rezzza/skippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rezzza/skippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rezzza/skippy/contents/{+path}","compare_url":"https://api.github.com/repos/rezzza/skippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rezzza/skippy/merges","archive_url":"https://api.github.com/repos/rezzza/skippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rezzza/skippy/downloads","issues_url":"https://api.github.com/repos/rezzza/skippy/issues{/number}","pulls_url":"https://api.github.com/repos/rezzza/skippy/pulls{/number}","milestones_url":"https://api.github.com/repos/rezzza/skippy/milestones{/number}","notifications_url":"https://api.github.com/repos/rezzza/skippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rezzza/skippy/labels{/name}","releases_url":"https://api.github.com/repos/rezzza/skippy/releases{/id}","created_at":"2015-06-07T13:05:49Z","updated_at":"2015-08-24T10:08:55Z","pushed_at":"2015-09-01T14:23:16Z","git_url":"git://github.com/rezzza/skippy.git","ssh_url":"git@github.com:rezzza/skippy.git","clone_url":"https://github.com/rezzza/skippy.git","svn_url":"https://github.com/rezzza/skippy","homepage":"","size":368,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rezzza/skippy/pulls/20"},"html":{"href":"https://github.com/rezzza/skippy/pull/20"},"issue":{"href":"https://api.github.com/repos/rezzza/skippy/issues/20"},"comments":{"href":"https://api.github.com/repos/rezzza/skippy/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/rezzza/skippy/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/rezzza/skippy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rezzza/skippy/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/rezzza/skippy/statuses/f88c1a182bc2b7166b5594c4d91dda7fc1973bb9"}}}}