{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/1","id":55230493,"html_url":"https://github.com/LavaLab/trytonacs-party-access-control-isonas/pull/1","diff_url":"https://github.com/LavaLab/trytonacs-party-access-control-isonas/pull/1.diff","patch_url":"https://github.com/LavaLab/trytonacs-party-access-control-isonas/pull/1.patch","issue_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/issues/1","number":1,"state":"closed","locked":false,"title":"Refactor","user":{"login":"cedk","id":836961,"avatar_url":"https://avatars.githubusercontent.com/u/836961?v=3","gravatar_id":"","url":"https://api.github.com/users/cedk","html_url":"https://github.com/cedk","followers_url":"https://api.github.com/users/cedk/followers","following_url":"https://api.github.com/users/cedk/following{/other_user}","gists_url":"https://api.github.com/users/cedk/gists{/gist_id}","starred_url":"https://api.github.com/users/cedk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedk/subscriptions","organizations_url":"https://api.github.com/users/cedk/orgs","repos_url":"https://api.github.com/users/cedk/repos","events_url":"https://api.github.com/users/cedk/events{/privacy}","received_events_url":"https://api.github.com/users/cedk/received_events","type":"User","site_admin":false},"body":"Here is some code factoring to ease future development.\r\nI did not test if the code is still working correctly.","created_at":"2016-01-06T16:14:20Z","updated_at":"2016-01-07T09:49:28Z","closed_at":"2016-01-07T09:49:28Z","merged_at":"2016-01-07T09:49:28Z","merge_commit_sha":"eee4dc5e798d020d1bb211d57d0d6d711a8e63d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/1/commits","review_comments_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/1/comments","review_comment_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/issues/1/comments","statuses_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/statuses/ae8a5ea12a8e2740227a969d6c2ca1e978d8af0e","head":{"label":"cedk:refactor","ref":"refactor","sha":"ae8a5ea12a8e2740227a969d6c2ca1e978d8af0e","user":{"login":"cedk","id":836961,"avatar_url":"https://avatars.githubusercontent.com/u/836961?v=3","gravatar_id":"","url":"https://api.github.com/users/cedk","html_url":"https://github.com/cedk","followers_url":"https://api.github.com/users/cedk/followers","following_url":"https://api.github.com/users/cedk/following{/other_user}","gists_url":"https://api.github.com/users/cedk/gists{/gist_id}","starred_url":"https://api.github.com/users/cedk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedk/subscriptions","organizations_url":"https://api.github.com/users/cedk/orgs","repos_url":"https://api.github.com/users/cedk/repos","events_url":"https://api.github.com/users/cedk/events{/privacy}","received_events_url":"https://api.github.com/users/cedk/received_events","type":"User","site_admin":false},"repo":{"id":49136659,"name":"trytonacs-party-access-control-isonas","full_name":"cedk/trytonacs-party-access-control-isonas","owner":{"login":"cedk","id":836961,"avatar_url":"https://avatars.githubusercontent.com/u/836961?v=3","gravatar_id":"","url":"https://api.github.com/users/cedk","html_url":"https://github.com/cedk","followers_url":"https://api.github.com/users/cedk/followers","following_url":"https://api.github.com/users/cedk/following{/other_user}","gists_url":"https://api.github.com/users/cedk/gists{/gist_id}","starred_url":"https://api.github.com/users/cedk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedk/subscriptions","organizations_url":"https://api.github.com/users/cedk/orgs","repos_url":"https://api.github.com/users/cedk/repos","events_url":"https://api.github.com/users/cedk/events{/privacy}","received_events_url":"https://api.github.com/users/cedk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cedk/trytonacs-party-access-control-isonas","description":"Tryton integration with ISONAS Access Controller software Crystal Matrix","fork":true,"url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas","forks_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/forks","keys_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/teams","hooks_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/hooks","issue_events_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/issues/events{/number}","events_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/events","assignees_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/assignees{/user}","branches_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/branches{/branch}","tags_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/tags","blobs_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/git/refs{/sha}","trees_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/statuses/{sha}","languages_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/languages","stargazers_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/stargazers","contributors_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/contributors","subscribers_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/subscribers","subscription_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/subscription","commits_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/commits{/sha}","git_commits_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/git/commits{/sha}","comments_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/comments{/number}","issue_comment_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/issues/comments{/number}","contents_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/contents/{+path}","compare_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/merges","archive_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/downloads","issues_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/issues{/number}","pulls_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/pulls{/number}","milestones_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/milestones{/number}","notifications_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/labels{/name}","releases_url":"https://api.github.com/repos/cedk/trytonacs-party-access-control-isonas/releases{/id}","created_at":"2016-01-06T13:24:10Z","updated_at":"2016-01-06T13:24:10Z","pushed_at":"2016-01-06T17:30:38Z","git_url":"git://github.com/cedk/trytonacs-party-access-control-isonas.git","ssh_url":"git@github.com:cedk/trytonacs-party-access-control-isonas.git","clone_url":"https://github.com/cedk/trytonacs-party-access-control-isonas.git","svn_url":"https://github.com/cedk/trytonacs-party-access-control-isonas","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"LavaLab:master","ref":"master","sha":"22dcae0cfc1a08908e956984ff140330121abd18","user":{"login":"LavaLab","id":9985487,"avatar_url":"https://avatars.githubusercontent.com/u/9985487?v=3","gravatar_id":"","url":"https://api.github.com/users/LavaLab","html_url":"https://github.com/LavaLab","followers_url":"https://api.github.com/users/LavaLab/followers","following_url":"https://api.github.com/users/LavaLab/following{/other_user}","gists_url":"https://api.github.com/users/LavaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LavaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LavaLab/subscriptions","organizations_url":"https://api.github.com/users/LavaLab/orgs","repos_url":"https://api.github.com/users/LavaLab/repos","events_url":"https://api.github.com/users/LavaLab/events{/privacy}","received_events_url":"https://api.github.com/users/LavaLab/received_events","type":"Organization","site_admin":false},"repo":{"id":44533620,"name":"trytonacs-party-access-control-isonas","full_name":"LavaLab/trytonacs-party-access-control-isonas","owner":{"login":"LavaLab","id":9985487,"avatar_url":"https://avatars.githubusercontent.com/u/9985487?v=3","gravatar_id":"","url":"https://api.github.com/users/LavaLab","html_url":"https://github.com/LavaLab","followers_url":"https://api.github.com/users/LavaLab/followers","following_url":"https://api.github.com/users/LavaLab/following{/other_user}","gists_url":"https://api.github.com/users/LavaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/LavaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LavaLab/subscriptions","organizations_url":"https://api.github.com/users/LavaLab/orgs","repos_url":"https://api.github.com/users/LavaLab/repos","events_url":"https://api.github.com/users/LavaLab/events{/privacy}","received_events_url":"https://api.github.com/users/LavaLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LavaLab/trytonacs-party-access-control-isonas","description":"Tryton integration with ISONAS Access Controller software Crystal Matrix","fork":false,"url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas","forks_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/forks","keys_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/teams","hooks_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/hooks","issue_events_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/issues/events{/number}","events_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/events","assignees_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/assignees{/user}","branches_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/branches{/branch}","tags_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/tags","blobs_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/git/refs{/sha}","trees_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/statuses/{sha}","languages_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/languages","stargazers_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/stargazers","contributors_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/contributors","subscribers_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/subscribers","subscription_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/subscription","commits_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/commits{/sha}","git_commits_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/git/commits{/sha}","comments_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/comments{/number}","issue_comment_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/issues/comments{/number}","contents_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/contents/{+path}","compare_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/merges","archive_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/downloads","issues_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/issues{/number}","pulls_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls{/number}","milestones_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/milestones{/number}","notifications_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/labels{/name}","releases_url":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/releases{/id}","created_at":"2015-10-19T12:39:32Z","updated_at":"2015-10-19T12:40:05Z","pushed_at":"2016-01-07T09:49:28Z","git_url":"git://github.com/LavaLab/trytonacs-party-access-control-isonas.git","ssh_url":"git@github.com:LavaLab/trytonacs-party-access-control-isonas.git","clone_url":"https://github.com/LavaLab/trytonacs-party-access-control-isonas.git","svn_url":"https://github.com/LavaLab/trytonacs-party-access-control-isonas","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/1"},"html":{"href":"https://github.com/LavaLab/trytonacs-party-access-control-isonas/pull/1"},"issue":{"href":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/issues/1"},"comments":{"href":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/LavaLab/trytonacs-party-access-control-isonas/statuses/ae8a5ea12a8e2740227a969d6c2ca1e978d8af0e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vbastos","id":537269,"avatar_url":"https://avatars.githubusercontent.com/u/537269?v=3","gravatar_id":"","url":"https://api.github.com/users/vbastos","html_url":"https://github.com/vbastos","followers_url":"https://api.github.com/users/vbastos/followers","following_url":"https://api.github.com/users/vbastos/following{/other_user}","gists_url":"https://api.github.com/users/vbastos/gists{/gist_id}","starred_url":"https://api.github.com/users/vbastos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbastos/subscriptions","organizations_url":"https://api.github.com/users/vbastos/orgs","repos_url":"https://api.github.com/users/vbastos/repos","events_url":"https://api.github.com/users/vbastos/events{/privacy}","received_events_url":"https://api.github.com/users/vbastos/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":8,"additions":54,"deletions":99,"changed_files":1}}