{"action":"created","comment":{"url":"https://api.github.com/repos/yardstick/yardstick-client/pulls/comments/37995030","id":37995030,"diff_hunk":"@@ -24,26 +24,30 @@ def self.process_response(resp, extras = {})\n         attrs\n       end\n \n-      def schedule\n-        response = put(instance_action_uri(:schedule), body: { token: token, booking_request: {\n-          local_start_at: local_start_at.utc.iso8601,\n-          local_end_at: local_end_at.utc.iso8601\n-        } })\n+      def schedule(start_at)\n+        response = put(instance_action_uri(:schedule), body: {\n+          token: token,","path":"lib/yardstick/v2_client/booking_request.rb","position":20,"original_position":20,"commit_id":"87522bd6239ae1d0480adfebc7a88ac5f21688f6","original_commit_id":"87522bd6239ae1d0480adfebc7a88ac5f21688f6","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.","created_at":"2015-08-26T15:21:15Z","updated_at":"2015-08-26T15:21:15Z","html_url":"https://github.com/yardstick/yardstick-client/pull/23#discussion_r37995030","pull_request_url":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/yardstick/yardstick-client/pulls/comments/37995030"},"html":{"href":"https://github.com/yardstick/yardstick-client/pull/23#discussion_r37995030"},"pull_request":{"href":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23","id":43414789,"html_url":"https://github.com/yardstick/yardstick-client/pull/23","diff_url":"https://github.com/yardstick/yardstick-client/pull/23.diff","patch_url":"https://github.com/yardstick/yardstick-client/pull/23.patch","issue_url":"https://api.github.com/repos/yardstick/yardstick-client/issues/23","number":23,"state":"open","locked":false,"title":"MS-2335 - Add \"booked_days_in_advance\" to booking requests in the client gem","user":{"login":"pheen","id":1145873,"avatar_url":"https://avatars.githubusercontent.com/u/1145873?v=3","gravatar_id":"","url":"https://api.github.com/users/pheen","html_url":"https://github.com/pheen","followers_url":"https://api.github.com/users/pheen/followers","following_url":"https://api.github.com/users/pheen/following{/other_user}","gists_url":"https://api.github.com/users/pheen/gists{/gist_id}","starred_url":"https://api.github.com/users/pheen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pheen/subscriptions","organizations_url":"https://api.github.com/users/pheen/orgs","repos_url":"https://api.github.com/users/pheen/repos","events_url":"https://api.github.com/users/pheen/events{/privacy}","received_events_url":"https://api.github.com/users/pheen/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-26T15:21:13Z","updated_at":"2015-08-26T15:21:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8246139962c8e1960d87c15232d395bb73e74a9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23/commits","review_comments_url":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23/comments","review_comment_url":"https://api.github.com/repos/yardstick/yardstick-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yardstick/yardstick-client/issues/23/comments","statuses_url":"https://api.github.com/repos/yardstick/yardstick-client/statuses/87522bd6239ae1d0480adfebc7a88ac5f21688f6","head":{"label":"yardstick:MS-2335-add-booked-days-in-advanced","ref":"MS-2335-add-booked-days-in-advanced","sha":"87522bd6239ae1d0480adfebc7a88ac5f21688f6","user":{"login":"yardstick","id":44401,"avatar_url":"https://avatars.githubusercontent.com/u/44401?v=3","gravatar_id":"","url":"https://api.github.com/users/yardstick","html_url":"https://github.com/yardstick","followers_url":"https://api.github.com/users/yardstick/followers","following_url":"https://api.github.com/users/yardstick/following{/other_user}","gists_url":"https://api.github.com/users/yardstick/gists{/gist_id}","starred_url":"https://api.github.com/users/yardstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yardstick/subscriptions","organizations_url":"https://api.github.com/users/yardstick/orgs","repos_url":"https://api.github.com/users/yardstick/repos","events_url":"https://api.github.com/users/yardstick/events{/privacy}","received_events_url":"https://api.github.com/users/yardstick/received_events","type":"Organization","site_admin":false},"repo":{"id":11207786,"name":"yardstick-client","full_name":"yardstick/yardstick-client","owner":{"login":"yardstick","id":44401,"avatar_url":"https://avatars.githubusercontent.com/u/44401?v=3","gravatar_id":"","url":"https://api.github.com/users/yardstick","html_url":"https://github.com/yardstick","followers_url":"https://api.github.com/users/yardstick/followers","following_url":"https://api.github.com/users/yardstick/following{/other_user}","gists_url":"https://api.github.com/users/yardstick/gists{/gist_id}","starred_url":"https://api.github.com/users/yardstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yardstick/subscriptions","organizations_url":"https://api.github.com/users/yardstick/orgs","repos_url":"https://api.github.com/users/yardstick/repos","events_url":"https://api.github.com/users/yardstick/events{/privacy}","received_events_url":"https://api.github.com/users/yardstick/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yardstick/yardstick-client","description":"Talk to our API.","fork":false,"url":"https://api.github.com/repos/yardstick/yardstick-client","forks_url":"https://api.github.com/repos/yardstick/yardstick-client/forks","keys_url":"https://api.github.com/repos/yardstick/yardstick-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yardstick/yardstick-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yardstick/yardstick-client/teams","hooks_url":"https://api.github.com/repos/yardstick/yardstick-client/hooks","issue_events_url":"https://api.github.com/repos/yardstick/yardstick-client/issues/events{/number}","events_url":"https://api.github.com/repos/yardstick/yardstick-client/events","assignees_url":"https://api.github.com/repos/yardstick/yardstick-client/assignees{/user}","branches_url":"https://api.github.com/repos/yardstick/yardstick-client/branches{/branch}","tags_url":"https://api.github.com/repos/yardstick/yardstick-client/tags","blobs_url":"https://api.github.com/repos/yardstick/yardstick-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yardstick/yardstick-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yardstick/yardstick-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/yardstick/yardstick-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yardstick/yardstick-client/statuses/{sha}","languages_url":"https://api.github.com/repos/yardstick/yardstick-client/languages","stargazers_url":"https://api.github.com/repos/yardstick/yardstick-client/stargazers","contributors_url":"https://api.github.com/repos/yardstick/yardstick-client/contributors","subscribers_url":"https://api.github.com/repos/yardstick/yardstick-client/subscribers","subscription_url":"https://api.github.com/repos/yardstick/yardstick-client/subscription","commits_url":"https://api.github.com/repos/yardstick/yardstick-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/yardstick/yardstick-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/yardstick/yardstick-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/yardstick/yardstick-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/yardstick/yardstick-client/contents/{+path}","compare_url":"https://api.github.com/repos/yardstick/yardstick-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yardstick/yardstick-client/merges","archive_url":"https://api.github.com/repos/yardstick/yardstick-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yardstick/yardstick-client/downloads","issues_url":"https://api.github.com/repos/yardstick/yardstick-client/issues{/number}","pulls_url":"https://api.github.com/repos/yardstick/yardstick-client/pulls{/number}","milestones_url":"https://api.github.com/repos/yardstick/yardstick-client/milestones{/number}","notifications_url":"https://api.github.com/repos/yardstick/yardstick-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yardstick/yardstick-client/labels{/name}","releases_url":"https://api.github.com/repos/yardstick/yardstick-client/releases{/id}","created_at":"2013-07-05T20:18:49Z","updated_at":"2015-03-31T21:33:03Z","pushed_at":"2015-08-26T15:21:13Z","git_url":"git://github.com/yardstick/yardstick-client.git","ssh_url":"git@github.com:yardstick/yardstick-client.git","clone_url":"https://github.com/yardstick/yardstick-client.git","svn_url":"https://github.com/yardstick/yardstick-client","homepage":null,"size":696,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"yardstick:master","ref":"master","sha":"a2fd17b2cec147a981e7b1b7e785e4a7b772e512","user":{"login":"yardstick","id":44401,"avatar_url":"https://avatars.githubusercontent.com/u/44401?v=3","gravatar_id":"","url":"https://api.github.com/users/yardstick","html_url":"https://github.com/yardstick","followers_url":"https://api.github.com/users/yardstick/followers","following_url":"https://api.github.com/users/yardstick/following{/other_user}","gists_url":"https://api.github.com/users/yardstick/gists{/gist_id}","starred_url":"https://api.github.com/users/yardstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yardstick/subscriptions","organizations_url":"https://api.github.com/users/yardstick/orgs","repos_url":"https://api.github.com/users/yardstick/repos","events_url":"https://api.github.com/users/yardstick/events{/privacy}","received_events_url":"https://api.github.com/users/yardstick/received_events","type":"Organization","site_admin":false},"repo":{"id":11207786,"name":"yardstick-client","full_name":"yardstick/yardstick-client","owner":{"login":"yardstick","id":44401,"avatar_url":"https://avatars.githubusercontent.com/u/44401?v=3","gravatar_id":"","url":"https://api.github.com/users/yardstick","html_url":"https://github.com/yardstick","followers_url":"https://api.github.com/users/yardstick/followers","following_url":"https://api.github.com/users/yardstick/following{/other_user}","gists_url":"https://api.github.com/users/yardstick/gists{/gist_id}","starred_url":"https://api.github.com/users/yardstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yardstick/subscriptions","organizations_url":"https://api.github.com/users/yardstick/orgs","repos_url":"https://api.github.com/users/yardstick/repos","events_url":"https://api.github.com/users/yardstick/events{/privacy}","received_events_url":"https://api.github.com/users/yardstick/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yardstick/yardstick-client","description":"Talk to our API.","fork":false,"url":"https://api.github.com/repos/yardstick/yardstick-client","forks_url":"https://api.github.com/repos/yardstick/yardstick-client/forks","keys_url":"https://api.github.com/repos/yardstick/yardstick-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yardstick/yardstick-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yardstick/yardstick-client/teams","hooks_url":"https://api.github.com/repos/yardstick/yardstick-client/hooks","issue_events_url":"https://api.github.com/repos/yardstick/yardstick-client/issues/events{/number}","events_url":"https://api.github.com/repos/yardstick/yardstick-client/events","assignees_url":"https://api.github.com/repos/yardstick/yardstick-client/assignees{/user}","branches_url":"https://api.github.com/repos/yardstick/yardstick-client/branches{/branch}","tags_url":"https://api.github.com/repos/yardstick/yardstick-client/tags","blobs_url":"https://api.github.com/repos/yardstick/yardstick-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yardstick/yardstick-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yardstick/yardstick-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/yardstick/yardstick-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yardstick/yardstick-client/statuses/{sha}","languages_url":"https://api.github.com/repos/yardstick/yardstick-client/languages","stargazers_url":"https://api.github.com/repos/yardstick/yardstick-client/stargazers","contributors_url":"https://api.github.com/repos/yardstick/yardstick-client/contributors","subscribers_url":"https://api.github.com/repos/yardstick/yardstick-client/subscribers","subscription_url":"https://api.github.com/repos/yardstick/yardstick-client/subscription","commits_url":"https://api.github.com/repos/yardstick/yardstick-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/yardstick/yardstick-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/yardstick/yardstick-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/yardstick/yardstick-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/yardstick/yardstick-client/contents/{+path}","compare_url":"https://api.github.com/repos/yardstick/yardstick-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yardstick/yardstick-client/merges","archive_url":"https://api.github.com/repos/yardstick/yardstick-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yardstick/yardstick-client/downloads","issues_url":"https://api.github.com/repos/yardstick/yardstick-client/issues{/number}","pulls_url":"https://api.github.com/repos/yardstick/yardstick-client/pulls{/number}","milestones_url":"https://api.github.com/repos/yardstick/yardstick-client/milestones{/number}","notifications_url":"https://api.github.com/repos/yardstick/yardstick-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yardstick/yardstick-client/labels{/name}","releases_url":"https://api.github.com/repos/yardstick/yardstick-client/releases{/id}","created_at":"2013-07-05T20:18:49Z","updated_at":"2015-03-31T21:33:03Z","pushed_at":"2015-08-26T15:21:13Z","git_url":"git://github.com/yardstick/yardstick-client.git","ssh_url":"git@github.com:yardstick/yardstick-client.git","clone_url":"https://github.com/yardstick/yardstick-client.git","svn_url":"https://github.com/yardstick/yardstick-client","homepage":null,"size":696,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23"},"html":{"href":"https://github.com/yardstick/yardstick-client/pull/23"},"issue":{"href":"https://api.github.com/repos/yardstick/yardstick-client/issues/23"},"comments":{"href":"https://api.github.com/repos/yardstick/yardstick-client/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/yardstick/yardstick-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yardstick/yardstick-client/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/yardstick/yardstick-client/statuses/87522bd6239ae1d0480adfebc7a88ac5f21688f6"}}}}