{"action":"created","issue":{"url":"https://api.github.com/repos/ishkawa/APIKit/issues/95","labels_url":"https://api.github.com/repos/ishkawa/APIKit/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/ishkawa/APIKit/issues/95/comments","events_url":"https://api.github.com/repos/ishkawa/APIKit/issues/95/events","html_url":"https://github.com/ishkawa/APIKit/pull/95","id":113996960,"number":95,"title":"stop calling parameters variable twice","user":{"login":"matsuda","id":7977,"avatar_url":"https://avatars.githubusercontent.com/u/7977?v=3","gravatar_id":"","url":"https://api.github.com/users/matsuda","html_url":"https://github.com/matsuda","followers_url":"https://api.github.com/users/matsuda/followers","following_url":"https://api.github.com/users/matsuda/following{/other_user}","gists_url":"https://api.github.com/users/matsuda/gists{/gist_id}","starred_url":"https://api.github.com/users/matsuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsuda/subscriptions","organizations_url":"https://api.github.com/users/matsuda/orgs","repos_url":"https://api.github.com/users/matsuda/repos","events_url":"https://api.github.com/users/matsuda/events{/privacy}","received_events_url":"https://api.github.com/users/matsuda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T07:43:12Z","updated_at":"2015-10-31T11:32:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ishkawa/APIKit/pulls/95","html_url":"https://github.com/ishkawa/APIKit/pull/95","diff_url":"https://github.com/ishkawa/APIKit/pull/95.diff","patch_url":"https://github.com/ishkawa/APIKit/pull/95.patch"},"body":"Because `parameters` computed property in RequestType protocol is called twice in it's `buildURLRequest` method, I bind it to local variable once.\r\n\r\n---\r\n\r\n`RequestType` プロトコルの `parameters` プロパティが重複して呼ばれるので、一度ローカル変数にセットするようにしてみました。"},"comment":{"url":"https://api.github.com/repos/ishkawa/APIKit/issues/comments/152725951","html_url":"https://github.com/ishkawa/APIKit/pull/95#issuecomment-152725951","issue_url":"https://api.github.com/repos/ishkawa/APIKit/issues/95","id":152725951,"user":{"login":"ishkawa","id":966856,"avatar_url":"https://avatars.githubusercontent.com/u/966856?v=3","gravatar_id":"","url":"https://api.github.com/users/ishkawa","html_url":"https://github.com/ishkawa","followers_url":"https://api.github.com/users/ishkawa/followers","following_url":"https://api.github.com/users/ishkawa/following{/other_user}","gists_url":"https://api.github.com/users/ishkawa/gists{/gist_id}","starred_url":"https://api.github.com/users/ishkawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishkawa/subscriptions","organizations_url":"https://api.github.com/users/ishkawa/orgs","repos_url":"https://api.github.com/users/ishkawa/repos","events_url":"https://api.github.com/users/ishkawa/events{/privacy}","received_events_url":"https://api.github.com/users/ishkawa/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T11:32:46Z","updated_at":"2015-10-31T11:32:46Z","body":"Thanks :+1: "}}