{"action":"created","comment":{"url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/comments/66767719","id":66767719,"diff_hunk":"@@ -209,7 +214,7 @@ def paginate(path, options = {}, &block)\n               first_request = false\n             end\n             break unless response.relations[:next]\n-            response = response.relations[:next].get\n+            response = response.relations[:next].public_send(request_method)","path":"lib/bookingsync/api/client.rb","position":28,"original_position":28,"commit_id":"62ced5bb0ebea5fa04ef485c36649c6a366babf9","original_commit_id":"62ced5bb0ebea5fa04ef485c36649c6a366babf9","user":{"login":"Mandaryn","id":71698,"avatar_url":"https://avatars.githubusercontent.com/u/71698?v=3","gravatar_id":"","url":"https://api.github.com/users/Mandaryn","html_url":"https://github.com/Mandaryn","followers_url":"https://api.github.com/users/Mandaryn/followers","following_url":"https://api.github.com/users/Mandaryn/following{/other_user}","gists_url":"https://api.github.com/users/Mandaryn/gists{/gist_id}","starred_url":"https://api.github.com/users/Mandaryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mandaryn/subscriptions","organizations_url":"https://api.github.com/users/Mandaryn/orgs","repos_url":"https://api.github.com/users/Mandaryn/repos","events_url":"https://api.github.com/users/Mandaryn/events{/privacy}","received_events_url":"https://api.github.com/users/Mandaryn/received_events","type":"User","site_admin":false},"body":"i mean to have the call method on relation like before, and use that instead of using `public_send`?","created_at":"2016-06-13T10:05:38Z","updated_at":"2016-06-13T10:05:38Z","html_url":"https://github.com/BookingSync/bookingsync-api/pull/92#discussion_r66767719","pull_request_url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92","_links":{"self":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/comments/66767719"},"html":{"href":"https://github.com/BookingSync/bookingsync-api/pull/92#discussion_r66767719"},"pull_request":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92","id":73397465,"html_url":"https://github.com/BookingSync/bookingsync-api/pull/92","diff_url":"https://github.com/BookingSync/bookingsync-api/pull/92.diff","patch_url":"https://github.com/BookingSync/bookingsync-api/pull/92.patch","issue_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/92","number":92,"state":"open","locked":false,"title":"support pagination with POST","user":{"login":"Azdaroth","id":1833644,"avatar_url":"https://avatars.githubusercontent.com/u/1833644?v=3","gravatar_id":"","url":"https://api.github.com/users/Azdaroth","html_url":"https://github.com/Azdaroth","followers_url":"https://api.github.com/users/Azdaroth/followers","following_url":"https://api.github.com/users/Azdaroth/following{/other_user}","gists_url":"https://api.github.com/users/Azdaroth/gists{/gist_id}","starred_url":"https://api.github.com/users/Azdaroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azdaroth/subscriptions","organizations_url":"https://api.github.com/users/Azdaroth/orgs","repos_url":"https://api.github.com/users/Azdaroth/repos","events_url":"https://api.github.com/users/Azdaroth/events{/privacy}","received_events_url":"https://api.github.com/users/Azdaroth/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-10T16:06:15Z","updated_at":"2016-06-13T10:05:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5f6354658c445bfda95126a06daca05a33a6cfe","assignee":{"login":"Azdaroth","id":1833644,"avatar_url":"https://avatars.githubusercontent.com/u/1833644?v=3","gravatar_id":"","url":"https://api.github.com/users/Azdaroth","html_url":"https://github.com/Azdaroth","followers_url":"https://api.github.com/users/Azdaroth/followers","following_url":"https://api.github.com/users/Azdaroth/following{/other_user}","gists_url":"https://api.github.com/users/Azdaroth/gists{/gist_id}","starred_url":"https://api.github.com/users/Azdaroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azdaroth/subscriptions","organizations_url":"https://api.github.com/users/Azdaroth/orgs","repos_url":"https://api.github.com/users/Azdaroth/repos","events_url":"https://api.github.com/users/Azdaroth/events{/privacy}","received_events_url":"https://api.github.com/users/Azdaroth/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92/commits","review_comments_url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92/comments","review_comment_url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/92/comments","statuses_url":"https://api.github.com/repos/BookingSync/bookingsync-api/statuses/62ced5bb0ebea5fa04ef485c36649c6a366babf9","head":{"label":"BookingSync:support-post-pagination","ref":"support-post-pagination","sha":"62ced5bb0ebea5fa04ef485c36649c6a366babf9","user":{"login":"BookingSync","id":552099,"avatar_url":"https://avatars.githubusercontent.com/u/552099?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingSync","html_url":"https://github.com/BookingSync","followers_url":"https://api.github.com/users/BookingSync/followers","following_url":"https://api.github.com/users/BookingSync/following{/other_user}","gists_url":"https://api.github.com/users/BookingSync/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingSync/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingSync/subscriptions","organizations_url":"https://api.github.com/users/BookingSync/orgs","repos_url":"https://api.github.com/users/BookingSync/repos","events_url":"https://api.github.com/users/BookingSync/events{/privacy}","received_events_url":"https://api.github.com/users/BookingSync/received_events","type":"Organization","site_admin":false},"repo":{"id":17248591,"name":"bookingsync-api","full_name":"BookingSync/bookingsync-api","owner":{"login":"BookingSync","id":552099,"avatar_url":"https://avatars.githubusercontent.com/u/552099?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingSync","html_url":"https://github.com/BookingSync","followers_url":"https://api.github.com/users/BookingSync/followers","following_url":"https://api.github.com/users/BookingSync/following{/other_user}","gists_url":"https://api.github.com/users/BookingSync/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingSync/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingSync/subscriptions","organizations_url":"https://api.github.com/users/BookingSync/orgs","repos_url":"https://api.github.com/users/BookingSync/repos","events_url":"https://api.github.com/users/BookingSync/events{/privacy}","received_events_url":"https://api.github.com/users/BookingSync/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BookingSync/bookingsync-api","description":"Ruby interface for BookingSync API v3","fork":false,"url":"https://api.github.com/repos/BookingSync/bookingsync-api","forks_url":"https://api.github.com/repos/BookingSync/bookingsync-api/forks","keys_url":"https://api.github.com/repos/BookingSync/bookingsync-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BookingSync/bookingsync-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BookingSync/bookingsync-api/teams","hooks_url":"https://api.github.com/repos/BookingSync/bookingsync-api/hooks","issue_events_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/events{/number}","events_url":"https://api.github.com/repos/BookingSync/bookingsync-api/events","assignees_url":"https://api.github.com/repos/BookingSync/bookingsync-api/assignees{/user}","branches_url":"https://api.github.com/repos/BookingSync/bookingsync-api/branches{/branch}","tags_url":"https://api.github.com/repos/BookingSync/bookingsync-api/tags","blobs_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BookingSync/bookingsync-api/statuses/{sha}","languages_url":"https://api.github.com/repos/BookingSync/bookingsync-api/languages","stargazers_url":"https://api.github.com/repos/BookingSync/bookingsync-api/stargazers","contributors_url":"https://api.github.com/repos/BookingSync/bookingsync-api/contributors","subscribers_url":"https://api.github.com/repos/BookingSync/bookingsync-api/subscribers","subscription_url":"https://api.github.com/repos/BookingSync/bookingsync-api/subscription","commits_url":"https://api.github.com/repos/BookingSync/bookingsync-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/BookingSync/bookingsync-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/BookingSync/bookingsync-api/contents/{+path}","compare_url":"https://api.github.com/repos/BookingSync/bookingsync-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BookingSync/bookingsync-api/merges","archive_url":"https://api.github.com/repos/BookingSync/bookingsync-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BookingSync/bookingsync-api/downloads","issues_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues{/number}","pulls_url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls{/number}","milestones_url":"https://api.github.com/repos/BookingSync/bookingsync-api/milestones{/number}","notifications_url":"https://api.github.com/repos/BookingSync/bookingsync-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BookingSync/bookingsync-api/labels{/name}","releases_url":"https://api.github.com/repos/BookingSync/bookingsync-api/releases{/id}","deployments_url":"https://api.github.com/repos/BookingSync/bookingsync-api/deployments","created_at":"2014-02-27T12:51:04Z","updated_at":"2016-01-18T09:25:16Z","pushed_at":"2016-06-13T09:56:30Z","git_url":"git://github.com/BookingSync/bookingsync-api.git","ssh_url":"git@github.com:BookingSync/bookingsync-api.git","clone_url":"https://github.com/BookingSync/bookingsync-api.git","svn_url":"https://github.com/BookingSync/bookingsync-api","homepage":"","size":414,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":2,"default_branch":"master"}},"base":{"label":"BookingSync:master","ref":"master","sha":"0663b6d2aa91846128104f00d8212d0aef16c501","user":{"login":"BookingSync","id":552099,"avatar_url":"https://avatars.githubusercontent.com/u/552099?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingSync","html_url":"https://github.com/BookingSync","followers_url":"https://api.github.com/users/BookingSync/followers","following_url":"https://api.github.com/users/BookingSync/following{/other_user}","gists_url":"https://api.github.com/users/BookingSync/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingSync/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingSync/subscriptions","organizations_url":"https://api.github.com/users/BookingSync/orgs","repos_url":"https://api.github.com/users/BookingSync/repos","events_url":"https://api.github.com/users/BookingSync/events{/privacy}","received_events_url":"https://api.github.com/users/BookingSync/received_events","type":"Organization","site_admin":false},"repo":{"id":17248591,"name":"bookingsync-api","full_name":"BookingSync/bookingsync-api","owner":{"login":"BookingSync","id":552099,"avatar_url":"https://avatars.githubusercontent.com/u/552099?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingSync","html_url":"https://github.com/BookingSync","followers_url":"https://api.github.com/users/BookingSync/followers","following_url":"https://api.github.com/users/BookingSync/following{/other_user}","gists_url":"https://api.github.com/users/BookingSync/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingSync/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingSync/subscriptions","organizations_url":"https://api.github.com/users/BookingSync/orgs","repos_url":"https://api.github.com/users/BookingSync/repos","events_url":"https://api.github.com/users/BookingSync/events{/privacy}","received_events_url":"https://api.github.com/users/BookingSync/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BookingSync/bookingsync-api","description":"Ruby interface for BookingSync API v3","fork":false,"url":"https://api.github.com/repos/BookingSync/bookingsync-api","forks_url":"https://api.github.com/repos/BookingSync/bookingsync-api/forks","keys_url":"https://api.github.com/repos/BookingSync/bookingsync-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BookingSync/bookingsync-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BookingSync/bookingsync-api/teams","hooks_url":"https://api.github.com/repos/BookingSync/bookingsync-api/hooks","issue_events_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/events{/number}","events_url":"https://api.github.com/repos/BookingSync/bookingsync-api/events","assignees_url":"https://api.github.com/repos/BookingSync/bookingsync-api/assignees{/user}","branches_url":"https://api.github.com/repos/BookingSync/bookingsync-api/branches{/branch}","tags_url":"https://api.github.com/repos/BookingSync/bookingsync-api/tags","blobs_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BookingSync/bookingsync-api/statuses/{sha}","languages_url":"https://api.github.com/repos/BookingSync/bookingsync-api/languages","stargazers_url":"https://api.github.com/repos/BookingSync/bookingsync-api/stargazers","contributors_url":"https://api.github.com/repos/BookingSync/bookingsync-api/contributors","subscribers_url":"https://api.github.com/repos/BookingSync/bookingsync-api/subscribers","subscription_url":"https://api.github.com/repos/BookingSync/bookingsync-api/subscription","commits_url":"https://api.github.com/repos/BookingSync/bookingsync-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/BookingSync/bookingsync-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/BookingSync/bookingsync-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/BookingSync/bookingsync-api/contents/{+path}","compare_url":"https://api.github.com/repos/BookingSync/bookingsync-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BookingSync/bookingsync-api/merges","archive_url":"https://api.github.com/repos/BookingSync/bookingsync-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BookingSync/bookingsync-api/downloads","issues_url":"https://api.github.com/repos/BookingSync/bookingsync-api/issues{/number}","pulls_url":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls{/number}","milestones_url":"https://api.github.com/repos/BookingSync/bookingsync-api/milestones{/number}","notifications_url":"https://api.github.com/repos/BookingSync/bookingsync-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BookingSync/bookingsync-api/labels{/name}","releases_url":"https://api.github.com/repos/BookingSync/bookingsync-api/releases{/id}","deployments_url":"https://api.github.com/repos/BookingSync/bookingsync-api/deployments","created_at":"2014-02-27T12:51:04Z","updated_at":"2016-01-18T09:25:16Z","pushed_at":"2016-06-13T09:56:30Z","git_url":"git://github.com/BookingSync/bookingsync-api.git","ssh_url":"git@github.com:BookingSync/bookingsync-api.git","clone_url":"https://github.com/BookingSync/bookingsync-api.git","svn_url":"https://github.com/BookingSync/bookingsync-api","homepage":"","size":414,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92"},"html":{"href":"https://github.com/BookingSync/bookingsync-api/pull/92"},"issue":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/92"},"comments":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/BookingSync/bookingsync-api/statuses/62ced5bb0ebea5fa04ef485c36649c6a366babf9"}}}}
{"actor":{"display_login":"Mandaryn"}}