{"action":"created","comment":{"url":"https://api.github.com/repos/button/button-client-python/pulls/comments/80931367","pull_request_review_id":1949208,"id":80931367,"diff_hunk":"@@ -31,10 +31,9 @@ class Resource(object):\n \n     '''\n \n-    API_BASE = 'https://api.usebutton.com'\n-\n-    def __init__(self, api_key):\n+    def __init__(self, api_key, config):\n         self.api_key = api_key\n+        self.config = config","path":"pybutton/resources/resource.py","position":9,"original_position":9,"commit_id":"d43dedf8d1eaab615ebf1610e324e479b45cce8c","original_commit_id":"d43dedf8d1eaab615ebf1610e324e479b45cce8c","user":{"login":"gckwan","id":1144400,"avatar_url":"https://avatars.githubusercontent.com/u/1144400?v=3","gravatar_id":"","url":"https://api.github.com/users/gckwan","html_url":"https://github.com/gckwan","followers_url":"https://api.github.com/users/gckwan/followers","following_url":"https://api.github.com/users/gckwan/following{/other_user}","gists_url":"https://api.github.com/users/gckwan/gists{/gist_id}","starred_url":"https://api.github.com/users/gckwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gckwan/subscriptions","organizations_url":"https://api.github.com/users/gckwan/orgs","repos_url":"https://api.github.com/users/gckwan/repos","events_url":"https://api.github.com/users/gckwan/events{/privacy}","received_events_url":"https://api.github.com/users/gckwan/received_events","type":"User","site_admin":false},"body":"Totally. Added config to the docstring above.","created_at":"2016-09-28T14:34:59Z","updated_at":"2016-09-28T14:34:59Z","html_url":"https://github.com/button/button-client-python/pull/5#discussion_r80931367","pull_request_url":"https://api.github.com/repos/button/button-client-python/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/button/button-client-python/pulls/comments/80931367"},"html":{"href":"https://github.com/button/button-client-python/pull/5#discussion_r80931367"},"pull_request":{"href":"https://api.github.com/repos/button/button-client-python/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/button/button-client-python/pulls/5","id":87003626,"html_url":"https://github.com/button/button-client-python/pull/5","diff_url":"https://github.com/button/button-client-python/pull/5.diff","patch_url":"https://github.com/button/button-client-python/pull/5.patch","issue_url":"https://api.github.com/repos/button/button-client-python/issues/5","number":5,"state":"open","locked":false,"title":"Add config options to python client","user":{"login":"gckwan","id":1144400,"avatar_url":"https://avatars.githubusercontent.com/u/1144400?v=3","gravatar_id":"","url":"https://api.github.com/users/gckwan","html_url":"https://github.com/gckwan","followers_url":"https://api.github.com/users/gckwan/followers","following_url":"https://api.github.com/users/gckwan/following{/other_user}","gists_url":"https://api.github.com/users/gckwan/gists{/gist_id}","starred_url":"https://api.github.com/users/gckwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gckwan/subscriptions","organizations_url":"https://api.github.com/users/gckwan/orgs","repos_url":"https://api.github.com/users/gckwan/repos","events_url":"https://api.github.com/users/gckwan/events{/privacy}","received_events_url":"https://api.github.com/users/gckwan/received_events","type":"User","site_admin":false},"body":"### Description ###\r\n\r\nJIRA: [DLC-3397](https://button.atlassian.net/browse/DLC-3397?filter=-1)\r\n\r\n### Test Plan ###\r\n\r\n- Updated unit tests to include configs\r\n- Tested against api.usebutton, staging, SimpleHTTPServer","created_at":"2016-09-27T20:16:55Z","updated_at":"2016-09-28T14:34:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c21fa610d2ab6315e05a215fe3e3b899fe6591ab","assignee":{"login":"griffinmyers","id":1980044,"avatar_url":"https://avatars.githubusercontent.com/u/1980044?v=3","gravatar_id":"","url":"https://api.github.com/users/griffinmyers","html_url":"https://github.com/griffinmyers","followers_url":"https://api.github.com/users/griffinmyers/followers","following_url":"https://api.github.com/users/griffinmyers/following{/other_user}","gists_url":"https://api.github.com/users/griffinmyers/gists{/gist_id}","starred_url":"https://api.github.com/users/griffinmyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffinmyers/subscriptions","organizations_url":"https://api.github.com/users/griffinmyers/orgs","repos_url":"https://api.github.com/users/griffinmyers/repos","events_url":"https://api.github.com/users/griffinmyers/events{/privacy}","received_events_url":"https://api.github.com/users/griffinmyers/received_events","type":"User","site_admin":false},"assignees":[{"login":"griffinmyers","id":1980044,"avatar_url":"https://avatars.githubusercontent.com/u/1980044?v=3","gravatar_id":"","url":"https://api.github.com/users/griffinmyers","html_url":"https://github.com/griffinmyers","followers_url":"https://api.github.com/users/griffinmyers/followers","following_url":"https://api.github.com/users/griffinmyers/following{/other_user}","gists_url":"https://api.github.com/users/griffinmyers/gists{/gist_id}","starred_url":"https://api.github.com/users/griffinmyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffinmyers/subscriptions","organizations_url":"https://api.github.com/users/griffinmyers/orgs","repos_url":"https://api.github.com/users/griffinmyers/repos","events_url":"https://api.github.com/users/griffinmyers/events{/privacy}","received_events_url":"https://api.github.com/users/griffinmyers/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/button/button-client-python/pulls/5/commits","review_comments_url":"https://api.github.com/repos/button/button-client-python/pulls/5/comments","review_comment_url":"https://api.github.com/repos/button/button-client-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/button/button-client-python/issues/5/comments","statuses_url":"https://api.github.com/repos/button/button-client-python/statuses/d43dedf8d1eaab615ebf1610e324e479b45cce8c","head":{"label":"button:grace/options","ref":"grace/options","sha":"d43dedf8d1eaab615ebf1610e324e479b45cce8c","user":{"login":"button","id":7770987,"avatar_url":"https://avatars.githubusercontent.com/u/7770987?v=3","gravatar_id":"","url":"https://api.github.com/users/button","html_url":"https://github.com/button","followers_url":"https://api.github.com/users/button/followers","following_url":"https://api.github.com/users/button/following{/other_user}","gists_url":"https://api.github.com/users/button/gists{/gist_id}","starred_url":"https://api.github.com/users/button/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/button/subscriptions","organizations_url":"https://api.github.com/users/button/orgs","repos_url":"https://api.github.com/users/button/repos","events_url":"https://api.github.com/users/button/events{/privacy}","received_events_url":"https://api.github.com/users/button/received_events","type":"Organization","site_admin":false},"repo":{"id":65489280,"name":"button-client-python","full_name":"button/button-client-python","owner":{"login":"button","id":7770987,"avatar_url":"https://avatars.githubusercontent.com/u/7770987?v=3","gravatar_id":"","url":"https://api.github.com/users/button","html_url":"https://github.com/button","followers_url":"https://api.github.com/users/button/followers","following_url":"https://api.github.com/users/button/following{/other_user}","gists_url":"https://api.github.com/users/button/gists{/gist_id}","starred_url":"https://api.github.com/users/button/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/button/subscriptions","organizations_url":"https://api.github.com/users/button/orgs","repos_url":"https://api.github.com/users/button/repos","events_url":"https://api.github.com/users/button/events{/privacy}","received_events_url":"https://api.github.com/users/button/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/button/button-client-python","description":"python client for the Button Order API","fork":false,"url":"https://api.github.com/repos/button/button-client-python","forks_url":"https://api.github.com/repos/button/button-client-python/forks","keys_url":"https://api.github.com/repos/button/button-client-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/button/button-client-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/button/button-client-python/teams","hooks_url":"https://api.github.com/repos/button/button-client-python/hooks","issue_events_url":"https://api.github.com/repos/button/button-client-python/issues/events{/number}","events_url":"https://api.github.com/repos/button/button-client-python/events","assignees_url":"https://api.github.com/repos/button/button-client-python/assignees{/user}","branches_url":"https://api.github.com/repos/button/button-client-python/branches{/branch}","tags_url":"https://api.github.com/repos/button/button-client-python/tags","blobs_url":"https://api.github.com/repos/button/button-client-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/button/button-client-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/button/button-client-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/button/button-client-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/button/button-client-python/statuses/{sha}","languages_url":"https://api.github.com/repos/button/button-client-python/languages","stargazers_url":"https://api.github.com/repos/button/button-client-python/stargazers","contributors_url":"https://api.github.com/repos/button/button-client-python/contributors","subscribers_url":"https://api.github.com/repos/button/button-client-python/subscribers","subscription_url":"https://api.github.com/repos/button/button-client-python/subscription","commits_url":"https://api.github.com/repos/button/button-client-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/button/button-client-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/button/button-client-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/button/button-client-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/button/button-client-python/contents/{+path}","compare_url":"https://api.github.com/repos/button/button-client-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/button/button-client-python/merges","archive_url":"https://api.github.com/repos/button/button-client-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/button/button-client-python/downloads","issues_url":"https://api.github.com/repos/button/button-client-python/issues{/number}","pulls_url":"https://api.github.com/repos/button/button-client-python/pulls{/number}","milestones_url":"https://api.github.com/repos/button/button-client-python/milestones{/number}","notifications_url":"https://api.github.com/repos/button/button-client-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/button/button-client-python/labels{/name}","releases_url":"https://api.github.com/repos/button/button-client-python/releases{/id}","deployments_url":"https://api.github.com/repos/button/button-client-python/deployments","created_at":"2016-08-11T17:41:27Z","updated_at":"2016-08-12T18:39:04Z","pushed_at":"2016-09-27T20:27:51Z","git_url":"git://github.com/button/button-client-python.git","ssh_url":"git@github.com:button/button-client-python.git","clone_url":"https://github.com/button/button-client-python.git","svn_url":"https://github.com/button/button-client-python","homepage":null,"size":16,"stargazers_count":3,"watchers_count":3,"language":"Python","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":3,"default_branch":"master"}},"base":{"label":"button:master","ref":"master","sha":"ff651d0770e15fe2e0aedae3ba05dd608e587cf8","user":{"login":"button","id":7770987,"avatar_url":"https://avatars.githubusercontent.com/u/7770987?v=3","gravatar_id":"","url":"https://api.github.com/users/button","html_url":"https://github.com/button","followers_url":"https://api.github.com/users/button/followers","following_url":"https://api.github.com/users/button/following{/other_user}","gists_url":"https://api.github.com/users/button/gists{/gist_id}","starred_url":"https://api.github.com/users/button/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/button/subscriptions","organizations_url":"https://api.github.com/users/button/orgs","repos_url":"https://api.github.com/users/button/repos","events_url":"https://api.github.com/users/button/events{/privacy}","received_events_url":"https://api.github.com/users/button/received_events","type":"Organization","site_admin":false},"repo":{"id":65489280,"name":"button-client-python","full_name":"button/button-client-python","owner":{"login":"button","id":7770987,"avatar_url":"https://avatars.githubusercontent.com/u/7770987?v=3","gravatar_id":"","url":"https://api.github.com/users/button","html_url":"https://github.com/button","followers_url":"https://api.github.com/users/button/followers","following_url":"https://api.github.com/users/button/following{/other_user}","gists_url":"https://api.github.com/users/button/gists{/gist_id}","starred_url":"https://api.github.com/users/button/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/button/subscriptions","organizations_url":"https://api.github.com/users/button/orgs","repos_url":"https://api.github.com/users/button/repos","events_url":"https://api.github.com/users/button/events{/privacy}","received_events_url":"https://api.github.com/users/button/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/button/button-client-python","description":"python client for the Button Order API","fork":false,"url":"https://api.github.com/repos/button/button-client-python","forks_url":"https://api.github.com/repos/button/button-client-python/forks","keys_url":"https://api.github.com/repos/button/button-client-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/button/button-client-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/button/button-client-python/teams","hooks_url":"https://api.github.com/repos/button/button-client-python/hooks","issue_events_url":"https://api.github.com/repos/button/button-client-python/issues/events{/number}","events_url":"https://api.github.com/repos/button/button-client-python/events","assignees_url":"https://api.github.com/repos/button/button-client-python/assignees{/user}","branches_url":"https://api.github.com/repos/button/button-client-python/branches{/branch}","tags_url":"https://api.github.com/repos/button/button-client-python/tags","blobs_url":"https://api.github.com/repos/button/button-client-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/button/button-client-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/button/button-client-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/button/button-client-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/button/button-client-python/statuses/{sha}","languages_url":"https://api.github.com/repos/button/button-client-python/languages","stargazers_url":"https://api.github.com/repos/button/button-client-python/stargazers","contributors_url":"https://api.github.com/repos/button/button-client-python/contributors","subscribers_url":"https://api.github.com/repos/button/button-client-python/subscribers","subscription_url":"https://api.github.com/repos/button/button-client-python/subscription","commits_url":"https://api.github.com/repos/button/button-client-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/button/button-client-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/button/button-client-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/button/button-client-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/button/button-client-python/contents/{+path}","compare_url":"https://api.github.com/repos/button/button-client-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/button/button-client-python/merges","archive_url":"https://api.github.com/repos/button/button-client-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/button/button-client-python/downloads","issues_url":"https://api.github.com/repos/button/button-client-python/issues{/number}","pulls_url":"https://api.github.com/repos/button/button-client-python/pulls{/number}","milestones_url":"https://api.github.com/repos/button/button-client-python/milestones{/number}","notifications_url":"https://api.github.com/repos/button/button-client-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/button/button-client-python/labels{/name}","releases_url":"https://api.github.com/repos/button/button-client-python/releases{/id}","deployments_url":"https://api.github.com/repos/button/button-client-python/deployments","created_at":"2016-08-11T17:41:27Z","updated_at":"2016-08-12T18:39:04Z","pushed_at":"2016-09-27T20:27:51Z","git_url":"git://github.com/button/button-client-python.git","ssh_url":"git@github.com:button/button-client-python.git","clone_url":"https://github.com/button/button-client-python.git","svn_url":"https://github.com/button/button-client-python","homepage":null,"size":16,"stargazers_count":3,"watchers_count":3,"language":"Python","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":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/button/button-client-python/pulls/5"},"html":{"href":"https://github.com/button/button-client-python/pull/5"},"issue":{"href":"https://api.github.com/repos/button/button-client-python/issues/5"},"comments":{"href":"https://api.github.com/repos/button/button-client-python/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/button/button-client-python/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/button/button-client-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/button/button-client-python/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/button/button-client-python/statuses/d43dedf8d1eaab615ebf1610e324e479b45cce8c"}}}}
{"actor":{"display_login":"gckwan"}}