{"action":"created","comment":{"url":"https://api.github.com/repos/ad2games/soapy_cake/pulls/comments/37433668","id":37433668,"diff_hunk":"@@ -28,7 +28,9 @@ def initialize(admin, method, opts, limit)\n       def to_enum\n         Enumerator.new do |y|\n           loop do\n-            result = admin.public_send(method, opts.merge(row_limit: limit, start_at_row: offset))\n+            result = admin\n+              .public_send(method, opts.merge(row_limit: limit, start_at_row: offset))\n+              .to_enum","path":"lib/soapy_cake/admin_batched.rb","position":null,"original_position":7,"commit_id":"60a9bc8ab19a21ad9d3d60bdec17167c70a22c09","original_commit_id":"c76114a11fe84a14fe461c501e4ae483c300c6c1","user":{"login":"tsujigiri","id":140724,"avatar_url":"https://avatars.githubusercontent.com/u/140724?v=3","gravatar_id":"","url":"https://api.github.com/users/tsujigiri","html_url":"https://github.com/tsujigiri","followers_url":"https://api.github.com/users/tsujigiri/followers","following_url":"https://api.github.com/users/tsujigiri/following{/other_user}","gists_url":"https://api.github.com/users/tsujigiri/gists{/gist_id}","starred_url":"https://api.github.com/users/tsujigiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsujigiri/subscriptions","organizations_url":"https://api.github.com/users/tsujigiri/orgs","repos_url":"https://api.github.com/users/tsujigiri/repos","events_url":"https://api.github.com/users/tsujigiri/events{/privacy}","received_events_url":"https://api.github.com/users/tsujigiri/received_events","type":"User","site_admin":false},"body":"It doesn't hurt and we don't need to find every call to this we mock somewhere and add `.to_enum` there.","created_at":"2015-08-19T16:13:01Z","updated_at":"2015-08-19T16:13:01Z","html_url":"https://github.com/ad2games/soapy_cake/pull/29#discussion_r37433668","pull_request_url":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/ad2games/soapy_cake/pulls/comments/37433668"},"html":{"href":"https://github.com/ad2games/soapy_cake/pull/29#discussion_r37433668"},"pull_request":{"href":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29","id":42815882,"html_url":"https://github.com/ad2games/soapy_cake/pull/29","diff_url":"https://github.com/ad2games/soapy_cake/pull/29.diff","patch_url":"https://github.com/ad2games/soapy_cake/pull/29.patch","issue_url":"https://api.github.com/repos/ad2games/soapy_cake/issues/29","number":29,"state":"open","locked":false,"title":"Allow editing of offer tiers","user":{"login":"tsujigiri","id":140724,"avatar_url":"https://avatars.githubusercontent.com/u/140724?v=3","gravatar_id":"","url":"https://api.github.com/users/tsujigiri","html_url":"https://github.com/tsujigiri","followers_url":"https://api.github.com/users/tsujigiri/followers","following_url":"https://api.github.com/users/tsujigiri/following{/other_user}","gists_url":"https://api.github.com/users/tsujigiri/gists{/gist_id}","starred_url":"https://api.github.com/users/tsujigiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsujigiri/subscriptions","organizations_url":"https://api.github.com/users/tsujigiri/orgs","repos_url":"https://api.github.com/users/tsujigiri/repos","events_url":"https://api.github.com/users/tsujigiri/events{/privacy}","received_events_url":"https://api.github.com/users/tsujigiri/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-19T13:46:32Z","updated_at":"2015-08-19T16:13:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44782d7e80e78c0dc8fa49919b4296c9c2736377","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29/commits","review_comments_url":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29/comments","review_comment_url":"https://api.github.com/repos/ad2games/soapy_cake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ad2games/soapy_cake/issues/29/comments","statuses_url":"https://api.github.com/repos/ad2games/soapy_cake/statuses/60a9bc8ab19a21ad9d3d60bdec17167c70a22c09","head":{"label":"ad2games:edit-offer-tiers","ref":"edit-offer-tiers","sha":"60a9bc8ab19a21ad9d3d60bdec17167c70a22c09","user":{"login":"ad2games","id":7860017,"avatar_url":"https://avatars.githubusercontent.com/u/7860017?v=3","gravatar_id":"","url":"https://api.github.com/users/ad2games","html_url":"https://github.com/ad2games","followers_url":"https://api.github.com/users/ad2games/followers","following_url":"https://api.github.com/users/ad2games/following{/other_user}","gists_url":"https://api.github.com/users/ad2games/gists{/gist_id}","starred_url":"https://api.github.com/users/ad2games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad2games/subscriptions","organizations_url":"https://api.github.com/users/ad2games/orgs","repos_url":"https://api.github.com/users/ad2games/repos","events_url":"https://api.github.com/users/ad2games/events{/privacy}","received_events_url":"https://api.github.com/users/ad2games/received_events","type":"Organization","site_admin":false},"repo":{"id":18368930,"name":"soapy_cake","full_name":"ad2games/soapy_cake","owner":{"login":"ad2games","id":7860017,"avatar_url":"https://avatars.githubusercontent.com/u/7860017?v=3","gravatar_id":"","url":"https://api.github.com/users/ad2games","html_url":"https://github.com/ad2games","followers_url":"https://api.github.com/users/ad2games/followers","following_url":"https://api.github.com/users/ad2games/following{/other_user}","gists_url":"https://api.github.com/users/ad2games/gists{/gist_id}","starred_url":"https://api.github.com/users/ad2games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad2games/subscriptions","organizations_url":"https://api.github.com/users/ad2games/orgs","repos_url":"https://api.github.com/users/ad2games/repos","events_url":"https://api.github.com/users/ad2games/events{/privacy}","received_events_url":"https://api.github.com/users/ad2games/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ad2games/soapy_cake","description":"Client library for CAKE.","fork":false,"url":"https://api.github.com/repos/ad2games/soapy_cake","forks_url":"https://api.github.com/repos/ad2games/soapy_cake/forks","keys_url":"https://api.github.com/repos/ad2games/soapy_cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ad2games/soapy_cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ad2games/soapy_cake/teams","hooks_url":"https://api.github.com/repos/ad2games/soapy_cake/hooks","issue_events_url":"https://api.github.com/repos/ad2games/soapy_cake/issues/events{/number}","events_url":"https://api.github.com/repos/ad2games/soapy_cake/events","assignees_url":"https://api.github.com/repos/ad2games/soapy_cake/assignees{/user}","branches_url":"https://api.github.com/repos/ad2games/soapy_cake/branches{/branch}","tags_url":"https://api.github.com/repos/ad2games/soapy_cake/tags","blobs_url":"https://api.github.com/repos/ad2games/soapy_cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ad2games/soapy_cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ad2games/soapy_cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/ad2games/soapy_cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ad2games/soapy_cake/statuses/{sha}","languages_url":"https://api.github.com/repos/ad2games/soapy_cake/languages","stargazers_url":"https://api.github.com/repos/ad2games/soapy_cake/stargazers","contributors_url":"https://api.github.com/repos/ad2games/soapy_cake/contributors","subscribers_url":"https://api.github.com/repos/ad2games/soapy_cake/subscribers","subscription_url":"https://api.github.com/repos/ad2games/soapy_cake/subscription","commits_url":"https://api.github.com/repos/ad2games/soapy_cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/ad2games/soapy_cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/ad2games/soapy_cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/ad2games/soapy_cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/ad2games/soapy_cake/contents/{+path}","compare_url":"https://api.github.com/repos/ad2games/soapy_cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ad2games/soapy_cake/merges","archive_url":"https://api.github.com/repos/ad2games/soapy_cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ad2games/soapy_cake/downloads","issues_url":"https://api.github.com/repos/ad2games/soapy_cake/issues{/number}","pulls_url":"https://api.github.com/repos/ad2games/soapy_cake/pulls{/number}","milestones_url":"https://api.github.com/repos/ad2games/soapy_cake/milestones{/number}","notifications_url":"https://api.github.com/repos/ad2games/soapy_cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ad2games/soapy_cake/labels{/name}","releases_url":"https://api.github.com/repos/ad2games/soapy_cake/releases{/id}","created_at":"2014-04-02T14:20:14Z","updated_at":"2015-06-15T13:21:13Z","pushed_at":"2015-08-19T16:10:49Z","git_url":"git://github.com/ad2games/soapy_cake.git","ssh_url":"git@github.com:ad2games/soapy_cake.git","clone_url":"https://github.com/ad2games/soapy_cake.git","svn_url":"https://github.com/ad2games/soapy_cake","homepage":"","size":1146,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ad2games:master","ref":"master","sha":"ced837645e5ed280af923501a167e33f871ecfd1","user":{"login":"ad2games","id":7860017,"avatar_url":"https://avatars.githubusercontent.com/u/7860017?v=3","gravatar_id":"","url":"https://api.github.com/users/ad2games","html_url":"https://github.com/ad2games","followers_url":"https://api.github.com/users/ad2games/followers","following_url":"https://api.github.com/users/ad2games/following{/other_user}","gists_url":"https://api.github.com/users/ad2games/gists{/gist_id}","starred_url":"https://api.github.com/users/ad2games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad2games/subscriptions","organizations_url":"https://api.github.com/users/ad2games/orgs","repos_url":"https://api.github.com/users/ad2games/repos","events_url":"https://api.github.com/users/ad2games/events{/privacy}","received_events_url":"https://api.github.com/users/ad2games/received_events","type":"Organization","site_admin":false},"repo":{"id":18368930,"name":"soapy_cake","full_name":"ad2games/soapy_cake","owner":{"login":"ad2games","id":7860017,"avatar_url":"https://avatars.githubusercontent.com/u/7860017?v=3","gravatar_id":"","url":"https://api.github.com/users/ad2games","html_url":"https://github.com/ad2games","followers_url":"https://api.github.com/users/ad2games/followers","following_url":"https://api.github.com/users/ad2games/following{/other_user}","gists_url":"https://api.github.com/users/ad2games/gists{/gist_id}","starred_url":"https://api.github.com/users/ad2games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad2games/subscriptions","organizations_url":"https://api.github.com/users/ad2games/orgs","repos_url":"https://api.github.com/users/ad2games/repos","events_url":"https://api.github.com/users/ad2games/events{/privacy}","received_events_url":"https://api.github.com/users/ad2games/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ad2games/soapy_cake","description":"Client library for CAKE.","fork":false,"url":"https://api.github.com/repos/ad2games/soapy_cake","forks_url":"https://api.github.com/repos/ad2games/soapy_cake/forks","keys_url":"https://api.github.com/repos/ad2games/soapy_cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ad2games/soapy_cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ad2games/soapy_cake/teams","hooks_url":"https://api.github.com/repos/ad2games/soapy_cake/hooks","issue_events_url":"https://api.github.com/repos/ad2games/soapy_cake/issues/events{/number}","events_url":"https://api.github.com/repos/ad2games/soapy_cake/events","assignees_url":"https://api.github.com/repos/ad2games/soapy_cake/assignees{/user}","branches_url":"https://api.github.com/repos/ad2games/soapy_cake/branches{/branch}","tags_url":"https://api.github.com/repos/ad2games/soapy_cake/tags","blobs_url":"https://api.github.com/repos/ad2games/soapy_cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ad2games/soapy_cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ad2games/soapy_cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/ad2games/soapy_cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ad2games/soapy_cake/statuses/{sha}","languages_url":"https://api.github.com/repos/ad2games/soapy_cake/languages","stargazers_url":"https://api.github.com/repos/ad2games/soapy_cake/stargazers","contributors_url":"https://api.github.com/repos/ad2games/soapy_cake/contributors","subscribers_url":"https://api.github.com/repos/ad2games/soapy_cake/subscribers","subscription_url":"https://api.github.com/repos/ad2games/soapy_cake/subscription","commits_url":"https://api.github.com/repos/ad2games/soapy_cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/ad2games/soapy_cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/ad2games/soapy_cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/ad2games/soapy_cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/ad2games/soapy_cake/contents/{+path}","compare_url":"https://api.github.com/repos/ad2games/soapy_cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ad2games/soapy_cake/merges","archive_url":"https://api.github.com/repos/ad2games/soapy_cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ad2games/soapy_cake/downloads","issues_url":"https://api.github.com/repos/ad2games/soapy_cake/issues{/number}","pulls_url":"https://api.github.com/repos/ad2games/soapy_cake/pulls{/number}","milestones_url":"https://api.github.com/repos/ad2games/soapy_cake/milestones{/number}","notifications_url":"https://api.github.com/repos/ad2games/soapy_cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ad2games/soapy_cake/labels{/name}","releases_url":"https://api.github.com/repos/ad2games/soapy_cake/releases{/id}","created_at":"2014-04-02T14:20:14Z","updated_at":"2015-06-15T13:21:13Z","pushed_at":"2015-08-19T16:10:49Z","git_url":"git://github.com/ad2games/soapy_cake.git","ssh_url":"git@github.com:ad2games/soapy_cake.git","clone_url":"https://github.com/ad2games/soapy_cake.git","svn_url":"https://github.com/ad2games/soapy_cake","homepage":"","size":1146,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29"},"html":{"href":"https://github.com/ad2games/soapy_cake/pull/29"},"issue":{"href":"https://api.github.com/repos/ad2games/soapy_cake/issues/29"},"comments":{"href":"https://api.github.com/repos/ad2games/soapy_cake/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/ad2games/soapy_cake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ad2games/soapy_cake/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/ad2games/soapy_cake/statuses/60a9bc8ab19a21ad9d3d60bdec17167c70a22c09"}}}}