{"action":"opened","number":142,"pull_request":{"url":"https://api.github.com/repos/local-ch/lhs/pulls/142","id":79214895,"html_url":"https://github.com/local-ch/lhs/pull/142","diff_url":"https://github.com/local-ch/lhs/pull/142.diff","patch_url":"https://github.com/local-ch/lhs/pull/142.patch","issue_url":"https://api.github.com/repos/local-ch/lhs/issues/142","number":142,"state":"open","locked":false,"title":"Forward options to included/referenced resources","user":{"login":"pape-io","id":851393,"avatar_url":"https://avatars.githubusercontent.com/u/851393?v=3","gravatar_id":"","url":"https://api.github.com/users/pape-io","html_url":"https://github.com/pape-io","followers_url":"https://api.github.com/users/pape-io/followers","following_url":"https://api.github.com/users/pape-io/following{/other_user}","gists_url":"https://api.github.com/users/pape-io/gists{/gist_id}","starred_url":"https://api.github.com/users/pape-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pape-io/subscriptions","organizations_url":"https://api.github.com/users/pape-io/orgs","repos_url":"https://api.github.com/users/pape-io/repos","events_url":"https://api.github.com/users/pape-io/events{/privacy}","received_events_url":"https://api.github.com/users/pape-io/received_events","type":"User","site_admin":false},"body":"In case you want to forward options for the requests beeing made to fetch included/referenced resources:\r\n```\r\nFavorite.includes(:place).references(place: { auth: { bearer: '123' }})\r\n```","created_at":"2016-07-28T15:17:26Z","updated_at":"2016-07-28T15:17:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/local-ch/lhs/pulls/142/commits","review_comments_url":"https://api.github.com/repos/local-ch/lhs/pulls/142/comments","review_comment_url":"https://api.github.com/repos/local-ch/lhs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/local-ch/lhs/issues/142/comments","statuses_url":"https://api.github.com/repos/local-ch/lhs/statuses/77a4e2287c5835232e18b5c51e21f7e704f3f263","head":{"label":"local-ch:includes-with-options","ref":"includes-with-options","sha":"77a4e2287c5835232e18b5c51e21f7e704f3f263","user":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":24098393,"name":"lhs","full_name":"local-ch/lhs","owner":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/local-ch/lhs","description":"Rails gem providing an easy, active-record-like interface for http json services","fork":false,"url":"https://api.github.com/repos/local-ch/lhs","forks_url":"https://api.github.com/repos/local-ch/lhs/forks","keys_url":"https://api.github.com/repos/local-ch/lhs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/local-ch/lhs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/local-ch/lhs/teams","hooks_url":"https://api.github.com/repos/local-ch/lhs/hooks","issue_events_url":"https://api.github.com/repos/local-ch/lhs/issues/events{/number}","events_url":"https://api.github.com/repos/local-ch/lhs/events","assignees_url":"https://api.github.com/repos/local-ch/lhs/assignees{/user}","branches_url":"https://api.github.com/repos/local-ch/lhs/branches{/branch}","tags_url":"https://api.github.com/repos/local-ch/lhs/tags","blobs_url":"https://api.github.com/repos/local-ch/lhs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/local-ch/lhs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/local-ch/lhs/git/refs{/sha}","trees_url":"https://api.github.com/repos/local-ch/lhs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/local-ch/lhs/statuses/{sha}","languages_url":"https://api.github.com/repos/local-ch/lhs/languages","stargazers_url":"https://api.github.com/repos/local-ch/lhs/stargazers","contributors_url":"https://api.github.com/repos/local-ch/lhs/contributors","subscribers_url":"https://api.github.com/repos/local-ch/lhs/subscribers","subscription_url":"https://api.github.com/repos/local-ch/lhs/subscription","commits_url":"https://api.github.com/repos/local-ch/lhs/commits{/sha}","git_commits_url":"https://api.github.com/repos/local-ch/lhs/git/commits{/sha}","comments_url":"https://api.github.com/repos/local-ch/lhs/comments{/number}","issue_comment_url":"https://api.github.com/repos/local-ch/lhs/issues/comments{/number}","contents_url":"https://api.github.com/repos/local-ch/lhs/contents/{+path}","compare_url":"https://api.github.com/repos/local-ch/lhs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/local-ch/lhs/merges","archive_url":"https://api.github.com/repos/local-ch/lhs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/local-ch/lhs/downloads","issues_url":"https://api.github.com/repos/local-ch/lhs/issues{/number}","pulls_url":"https://api.github.com/repos/local-ch/lhs/pulls{/number}","milestones_url":"https://api.github.com/repos/local-ch/lhs/milestones{/number}","notifications_url":"https://api.github.com/repos/local-ch/lhs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/local-ch/lhs/labels{/name}","releases_url":"https://api.github.com/repos/local-ch/lhs/releases{/id}","deployments_url":"https://api.github.com/repos/local-ch/lhs/deployments","created_at":"2014-09-16T12:25:31Z","updated_at":"2016-07-22T13:54:20Z","pushed_at":"2016-07-28T15:17:26Z","git_url":"git://github.com/local-ch/lhs.git","ssh_url":"git@github.com:local-ch/lhs.git","clone_url":"https://github.com/local-ch/lhs.git","svn_url":"https://github.com/local-ch/lhs","homepage":"","size":980,"stargazers_count":63,"watchers_count":63,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":63,"default_branch":"master"}},"base":{"label":"local-ch:master","ref":"master","sha":"172ea19aa55e19cd9fa1ad4ddfe216d075e1afc3","user":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":24098393,"name":"lhs","full_name":"local-ch/lhs","owner":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/local-ch/lhs","description":"Rails gem providing an easy, active-record-like interface for http json services","fork":false,"url":"https://api.github.com/repos/local-ch/lhs","forks_url":"https://api.github.com/repos/local-ch/lhs/forks","keys_url":"https://api.github.com/repos/local-ch/lhs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/local-ch/lhs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/local-ch/lhs/teams","hooks_url":"https://api.github.com/repos/local-ch/lhs/hooks","issue_events_url":"https://api.github.com/repos/local-ch/lhs/issues/events{/number}","events_url":"https://api.github.com/repos/local-ch/lhs/events","assignees_url":"https://api.github.com/repos/local-ch/lhs/assignees{/user}","branches_url":"https://api.github.com/repos/local-ch/lhs/branches{/branch}","tags_url":"https://api.github.com/repos/local-ch/lhs/tags","blobs_url":"https://api.github.com/repos/local-ch/lhs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/local-ch/lhs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/local-ch/lhs/git/refs{/sha}","trees_url":"https://api.github.com/repos/local-ch/lhs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/local-ch/lhs/statuses/{sha}","languages_url":"https://api.github.com/repos/local-ch/lhs/languages","stargazers_url":"https://api.github.com/repos/local-ch/lhs/stargazers","contributors_url":"https://api.github.com/repos/local-ch/lhs/contributors","subscribers_url":"https://api.github.com/repos/local-ch/lhs/subscribers","subscription_url":"https://api.github.com/repos/local-ch/lhs/subscription","commits_url":"https://api.github.com/repos/local-ch/lhs/commits{/sha}","git_commits_url":"https://api.github.com/repos/local-ch/lhs/git/commits{/sha}","comments_url":"https://api.github.com/repos/local-ch/lhs/comments{/number}","issue_comment_url":"https://api.github.com/repos/local-ch/lhs/issues/comments{/number}","contents_url":"https://api.github.com/repos/local-ch/lhs/contents/{+path}","compare_url":"https://api.github.com/repos/local-ch/lhs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/local-ch/lhs/merges","archive_url":"https://api.github.com/repos/local-ch/lhs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/local-ch/lhs/downloads","issues_url":"https://api.github.com/repos/local-ch/lhs/issues{/number}","pulls_url":"https://api.github.com/repos/local-ch/lhs/pulls{/number}","milestones_url":"https://api.github.com/repos/local-ch/lhs/milestones{/number}","notifications_url":"https://api.github.com/repos/local-ch/lhs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/local-ch/lhs/labels{/name}","releases_url":"https://api.github.com/repos/local-ch/lhs/releases{/id}","deployments_url":"https://api.github.com/repos/local-ch/lhs/deployments","created_at":"2014-09-16T12:25:31Z","updated_at":"2016-07-22T13:54:20Z","pushed_at":"2016-07-28T15:17:26Z","git_url":"git://github.com/local-ch/lhs.git","ssh_url":"git@github.com:local-ch/lhs.git","clone_url":"https://github.com/local-ch/lhs.git","svn_url":"https://github.com/local-ch/lhs","homepage":"","size":980,"stargazers_count":63,"watchers_count":63,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/142"},"html":{"href":"https://github.com/local-ch/lhs/pull/142"},"issue":{"href":"https://api.github.com/repos/local-ch/lhs/issues/142"},"comments":{"href":"https://api.github.com/repos/local-ch/lhs/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/local-ch/lhs/statuses/77a4e2287c5835232e18b5c51e21f7e704f3f263"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":95,"deletions":27,"changed_files":5}}
{"actor":{"display_login":"pape-io"}}