{"action":"created","comment":{"url":"https://api.github.com/repos/dongri/OAuthSwift/pulls/comments/23750027","id":23750027,"diff_hunk":"@@ -25,4 +25,33 @@ public class OAuthSwiftCredential {\n         self.oauth_token = oauth_token\n         self.oauth_token_secret = oauth_token_secret\n     }\n+    \n+    private struct CodingKeys {\n+        static let base = \"com.dongri.OAuthSwift.\"","path":"OAuthSwift/OAuthSwiftCredential.swift","position":15,"original_position":15,"commit_id":"f4bf20ba8c0c0cd4b10c3a7d5b98312088861d58","original_commit_id":"f4bf20ba8c0c0cd4b10c3a7d5b98312088861d58","user":{"login":"dongri","id":878993,"avatar_url":"https://avatars.githubusercontent.com/u/878993?v=3","gravatar_id":"","url":"https://api.github.com/users/dongri","html_url":"https://github.com/dongri","followers_url":"https://api.github.com/users/dongri/followers","following_url":"https://api.github.com/users/dongri/following{/other_user}","gists_url":"https://api.github.com/users/dongri/gists{/gist_id}","starred_url":"https://api.github.com/users/dongri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongri/subscriptions","organizations_url":"https://api.github.com/users/dongri/orgs","repos_url":"https://api.github.com/users/dongri/repos","events_url":"https://api.github.com/users/dongri/events{/privacy}","received_events_url":"https://api.github.com/users/dongri/received_events","type":"User","site_admin":false},"body":"`static let base = NSBundle.mainBundle().bundleIdentifier! + \".\"` ?","created_at":"2015-01-29T07:08:49Z","updated_at":"2015-01-29T07:08:49Z","html_url":"https://github.com/dongri/OAuthSwift/pull/24#discussion_r23750027","pull_request_url":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/dongri/OAuthSwift/pulls/comments/23750027"},"html":{"href":"https://github.com/dongri/OAuthSwift/pull/24#discussion_r23750027"},"pull_request":{"href":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24","id":28237627,"html_url":"https://github.com/dongri/OAuthSwift/pull/24","diff_url":"https://github.com/dongri/OAuthSwift/pull/24.diff","patch_url":"https://github.com/dongri/OAuthSwift/pull/24.patch","issue_url":"https://api.github.com/repos/dongri/OAuthSwift/issues/24","number":24,"state":"open","locked":false,"title":"Added NSCoding to OAuthSwiftCredential for easy storage in the Keychain.","user":{"login":"harlanhaskins","id":853032,"avatar_url":"https://avatars.githubusercontent.com/u/853032?v=3","gravatar_id":"","url":"https://api.github.com/users/harlanhaskins","html_url":"https://github.com/harlanhaskins","followers_url":"https://api.github.com/users/harlanhaskins/followers","following_url":"https://api.github.com/users/harlanhaskins/following{/other_user}","gists_url":"https://api.github.com/users/harlanhaskins/gists{/gist_id}","starred_url":"https://api.github.com/users/harlanhaskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harlanhaskins/subscriptions","organizations_url":"https://api.github.com/users/harlanhaskins/orgs","repos_url":"https://api.github.com/users/harlanhaskins/repos","events_url":"https://api.github.com/users/harlanhaskins/events{/privacy}","received_events_url":"https://api.github.com/users/harlanhaskins/received_events","type":"User","site_admin":false},"body":"[SwiftKeychainWrapper](https://github.com/jrendel/SwiftKeychainWrapper), and other such keychain wrappers, allow for easily storing an retrieving `NSCoding`-compatible objects in the keychain. `OAuthSwiftCredential` could benefit from some `NSCoding` love.","created_at":"2015-01-28T22:51:48Z","updated_at":"2015-01-29T07:08:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"116136243b81aa7ddc973af8838bbe0f4dc7f1cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24/commits","review_comments_url":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24/comments","review_comment_url":"https://api.github.com/repos/dongri/OAuthSwift/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dongri/OAuthSwift/issues/24/comments","statuses_url":"https://api.github.com/repos/dongri/OAuthSwift/statuses/f4bf20ba8c0c0cd4b10c3a7d5b98312088861d58","head":{"label":"harlanhaskins:master","ref":"master","sha":"f4bf20ba8c0c0cd4b10c3a7d5b98312088861d58","user":{"login":"harlanhaskins","id":853032,"avatar_url":"https://avatars.githubusercontent.com/u/853032?v=3","gravatar_id":"","url":"https://api.github.com/users/harlanhaskins","html_url":"https://github.com/harlanhaskins","followers_url":"https://api.github.com/users/harlanhaskins/followers","following_url":"https://api.github.com/users/harlanhaskins/following{/other_user}","gists_url":"https://api.github.com/users/harlanhaskins/gists{/gist_id}","starred_url":"https://api.github.com/users/harlanhaskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harlanhaskins/subscriptions","organizations_url":"https://api.github.com/users/harlanhaskins/orgs","repos_url":"https://api.github.com/users/harlanhaskins/repos","events_url":"https://api.github.com/users/harlanhaskins/events{/privacy}","received_events_url":"https://api.github.com/users/harlanhaskins/received_events","type":"User","site_admin":false},"repo":{"id":29990535,"name":"OAuthSwift","full_name":"harlanhaskins/OAuthSwift","owner":{"login":"harlanhaskins","id":853032,"avatar_url":"https://avatars.githubusercontent.com/u/853032?v=3","gravatar_id":"","url":"https://api.github.com/users/harlanhaskins","html_url":"https://github.com/harlanhaskins","followers_url":"https://api.github.com/users/harlanhaskins/followers","following_url":"https://api.github.com/users/harlanhaskins/following{/other_user}","gists_url":"https://api.github.com/users/harlanhaskins/gists{/gist_id}","starred_url":"https://api.github.com/users/harlanhaskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harlanhaskins/subscriptions","organizations_url":"https://api.github.com/users/harlanhaskins/orgs","repos_url":"https://api.github.com/users/harlanhaskins/repos","events_url":"https://api.github.com/users/harlanhaskins/events{/privacy}","received_events_url":"https://api.github.com/users/harlanhaskins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harlanhaskins/OAuthSwift","description":"Swift based OAuth library for iOS","fork":true,"url":"https://api.github.com/repos/harlanhaskins/OAuthSwift","forks_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/forks","keys_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/teams","hooks_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/hooks","issue_events_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/issues/events{/number}","events_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/events","assignees_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/assignees{/user}","branches_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/branches{/branch}","tags_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/tags","blobs_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/git/refs{/sha}","trees_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/statuses/{sha}","languages_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/languages","stargazers_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/stargazers","contributors_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/contributors","subscribers_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/subscribers","subscription_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/subscription","commits_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/commits{/sha}","git_commits_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/git/commits{/sha}","comments_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/comments{/number}","issue_comment_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/issues/comments/{number}","contents_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/contents/{+path}","compare_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/merges","archive_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/downloads","issues_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/issues{/number}","pulls_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/pulls{/number}","milestones_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/milestones{/number}","notifications_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/labels{/name}","releases_url":"https://api.github.com/repos/harlanhaskins/OAuthSwift/releases{/id}","created_at":"2015-01-28T22:01:16Z","updated_at":"2015-01-28T22:50:10Z","pushed_at":"2015-01-28T22:50:09Z","git_url":"git://github.com/harlanhaskins/OAuthSwift.git","ssh_url":"git@github.com:harlanhaskins/OAuthSwift.git","clone_url":"https://github.com/harlanhaskins/OAuthSwift.git","svn_url":"https://github.com/harlanhaskins/OAuthSwift","homepage":"","size":2192,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"dongri:master","ref":"master","sha":"74c51f4663aaf2f273b3948459660cfff270a420","user":{"login":"dongri","id":878993,"avatar_url":"https://avatars.githubusercontent.com/u/878993?v=3","gravatar_id":"","url":"https://api.github.com/users/dongri","html_url":"https://github.com/dongri","followers_url":"https://api.github.com/users/dongri/followers","following_url":"https://api.github.com/users/dongri/following{/other_user}","gists_url":"https://api.github.com/users/dongri/gists{/gist_id}","starred_url":"https://api.github.com/users/dongri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongri/subscriptions","organizations_url":"https://api.github.com/users/dongri/orgs","repos_url":"https://api.github.com/users/dongri/repos","events_url":"https://api.github.com/users/dongri/events{/privacy}","received_events_url":"https://api.github.com/users/dongri/received_events","type":"User","site_admin":false},"repo":{"id":21315049,"name":"OAuthSwift","full_name":"dongri/OAuthSwift","owner":{"login":"dongri","id":878993,"avatar_url":"https://avatars.githubusercontent.com/u/878993?v=3","gravatar_id":"","url":"https://api.github.com/users/dongri","html_url":"https://github.com/dongri","followers_url":"https://api.github.com/users/dongri/followers","following_url":"https://api.github.com/users/dongri/following{/other_user}","gists_url":"https://api.github.com/users/dongri/gists{/gist_id}","starred_url":"https://api.github.com/users/dongri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongri/subscriptions","organizations_url":"https://api.github.com/users/dongri/orgs","repos_url":"https://api.github.com/users/dongri/repos","events_url":"https://api.github.com/users/dongri/events{/privacy}","received_events_url":"https://api.github.com/users/dongri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dongri/OAuthSwift","description":"Swift based OAuth library for iOS","fork":false,"url":"https://api.github.com/repos/dongri/OAuthSwift","forks_url":"https://api.github.com/repos/dongri/OAuthSwift/forks","keys_url":"https://api.github.com/repos/dongri/OAuthSwift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dongri/OAuthSwift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dongri/OAuthSwift/teams","hooks_url":"https://api.github.com/repos/dongri/OAuthSwift/hooks","issue_events_url":"https://api.github.com/repos/dongri/OAuthSwift/issues/events{/number}","events_url":"https://api.github.com/repos/dongri/OAuthSwift/events","assignees_url":"https://api.github.com/repos/dongri/OAuthSwift/assignees{/user}","branches_url":"https://api.github.com/repos/dongri/OAuthSwift/branches{/branch}","tags_url":"https://api.github.com/repos/dongri/OAuthSwift/tags","blobs_url":"https://api.github.com/repos/dongri/OAuthSwift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dongri/OAuthSwift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dongri/OAuthSwift/git/refs{/sha}","trees_url":"https://api.github.com/repos/dongri/OAuthSwift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dongri/OAuthSwift/statuses/{sha}","languages_url":"https://api.github.com/repos/dongri/OAuthSwift/languages","stargazers_url":"https://api.github.com/repos/dongri/OAuthSwift/stargazers","contributors_url":"https://api.github.com/repos/dongri/OAuthSwift/contributors","subscribers_url":"https://api.github.com/repos/dongri/OAuthSwift/subscribers","subscription_url":"https://api.github.com/repos/dongri/OAuthSwift/subscription","commits_url":"https://api.github.com/repos/dongri/OAuthSwift/commits{/sha}","git_commits_url":"https://api.github.com/repos/dongri/OAuthSwift/git/commits{/sha}","comments_url":"https://api.github.com/repos/dongri/OAuthSwift/comments{/number}","issue_comment_url":"https://api.github.com/repos/dongri/OAuthSwift/issues/comments/{number}","contents_url":"https://api.github.com/repos/dongri/OAuthSwift/contents/{+path}","compare_url":"https://api.github.com/repos/dongri/OAuthSwift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dongri/OAuthSwift/merges","archive_url":"https://api.github.com/repos/dongri/OAuthSwift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dongri/OAuthSwift/downloads","issues_url":"https://api.github.com/repos/dongri/OAuthSwift/issues{/number}","pulls_url":"https://api.github.com/repos/dongri/OAuthSwift/pulls{/number}","milestones_url":"https://api.github.com/repos/dongri/OAuthSwift/milestones{/number}","notifications_url":"https://api.github.com/repos/dongri/OAuthSwift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dongri/OAuthSwift/labels{/name}","releases_url":"https://api.github.com/repos/dongri/OAuthSwift/releases{/id}","created_at":"2014-06-29T02:27:16Z","updated_at":"2015-01-29T04:14:06Z","pushed_at":"2015-01-29T04:14:06Z","git_url":"git://github.com/dongri/OAuthSwift.git","ssh_url":"git@github.com:dongri/OAuthSwift.git","clone_url":"https://github.com/dongri/OAuthSwift.git","svn_url":"https://github.com/dongri/OAuthSwift","homepage":"","size":2192,"stargazers_count":247,"watchers_count":247,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":3,"forks":26,"open_issues":3,"watchers":247,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24"},"html":{"href":"https://github.com/dongri/OAuthSwift/pull/24"},"issue":{"href":"https://api.github.com/repos/dongri/OAuthSwift/issues/24"},"comments":{"href":"https://api.github.com/repos/dongri/OAuthSwift/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/dongri/OAuthSwift/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dongri/OAuthSwift/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/dongri/OAuthSwift/statuses/f4bf20ba8c0c0cd4b10c3a7d5b98312088861d58"}}}}