-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1240 from octokit/feeds
Generate feeds client
- Loading branch information
Showing
7 changed files
with
11 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,19 @@ | ||
# frozen_string_literal: true | ||
|
||
module Octokit | ||
class Client | ||
|
||
# Methods for the Feeds API | ||
# | ||
# @see https://developer.github.com/v3/activity/feeds/ | ||
module Feeds | ||
|
||
# List Feeds | ||
# Get feeds | ||
# | ||
# The feeds returned depend on authentication, see the GitHub API docs | ||
# for more information. | ||
# | ||
# @return [Array<Sawyer::Resource>] list of feeds | ||
# @see https://developer.github.com/v3/activity/feeds/#list-feeds | ||
def feeds | ||
get "feeds" | ||
# @return [Sawyer::Resource] A single feeds | ||
# @see https://developer.github.com/v3/activity/feeds/#get-feeds | ||
def feeds(options = {}) | ||
get 'feeds', options | ||
end | ||
|
||
# Get a Feed by name | ||
# | ||
# @param name [Symbol, String] Name of feed to retrieve. | ||
# @return [Feed] Parsed feed in the format returned by the configured | ||
# parser. | ||
def feed(name, options = {}) | ||
if rel = feeds._links[name] | ||
get rel.href, :accept => rel.type, :options => options | ||
end | ||
end | ||
|
||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
spec/cassettes/Octokit_Client_Feeds/_feed/returns_parsed_feed_data.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...Octokit_Client_Feeds/_feeds/when_authenticated_with_basic_auth/returns_private_feeds.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/feeds","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.12.0"],"Content-Type":["application/json"],"Authorization":["Basic bW9uYWxpc2FvY3RvY2F0OmluL2U7OXVwZWJ7a3dma0x3cWRqUXV3Snp6"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["GitHub.com"],"Date":["Sat, 29 Sep 2018 04:23:45 GMT"],"Content-Type":["application/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Status":["200 OK"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4997"],"X-Ratelimit-Reset":["1538197940"],"Cache-Control":["private, max-age=60, s-maxage=60"],"Vary":["Accept, Authorization, Cookie, X-GitHub-OTP"],"Etag":["W/\"08ebb432ff7206bff24a27b71fdb38fe\""],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Runtime-Rack":["0.038749"],"X-Github-Request-Id":["DE71:681F:14B1F49:305ECCF:5BAEFE51"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJ0aW1lbGluZV91cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGltZWxpbmUi\nLCJ1c2VyX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cl9hY3RvciI6eyJocmVmIjoiaHR0cHM6\nLy9naXRodWIuY29tLzxHSVRIVUJfTE9HSU4+LnByaXZhdGUuYWN0b3IuYXRv\nbT90b2tlbj1BWEd0M0RIXzZlS01FRTA3enhVMVVtVHZ0MXk1SkdjNmtzNjV2\nRDdod0E9PSIsInR5cGUiOiJhcHBsaWNhdGlvbi9hdG9tK3htbCJ9LCJjdXJy\nZW50X3VzZXJfb3JnYW5pemF0aW9uIjp7ImhyZWYiOiIiLCJ0eXBlIjoiIn0s\nImN1cnJlbnRfdXNlcl9vcmdhbml6YXRpb25zIjpbXX19\n"},"http_version":null},"recorded_at":"Sat, 29 Sep 2018 04:23:45 GMT"}],"recorded_with":"VCR 4.0.0"} | ||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/feeds","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.15.0"],"Content-Type":["application/json"],"Authorization":["Basic b2N0b3B1cDpwdXBsMHZlNGV2YQ=="],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Fri, 10 Apr 2020 19:55:41 GMT"],"Content-Type":["application/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Server":["GitHub.com"],"Status":["200 OK"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4997"],"X-Ratelimit-Reset":["1586551942"],"Cache-Control":["private, max-age=60, s-maxage=60"],"Vary":["Accept, Authorization, Cookie, X-GitHub-OTP","Accept-Encoding, Accept, X-Requested-With"],"Etag":["W/\"c366ccf6b8b8fc7e633410c2840f162e\""],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Github-Request-Id":["C857:7ADC:DC894:1058EA:5E90CF3D"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJ0aW1lbGluZV91cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGltZWxpbmUi\nLCJ1c2VyX3VybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS97dXNlcn0iLCJjdXJy\nZW50X3VzZXJfcHVibGljX3VybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS88R0lU\nSFVCX0xPR0lOPiIsImN1cnJlbnRfdXNlcl91cmwiOiJodHRwczovL2dpdGh1\nYi5jb20vPEdJVEhVQl9MT0dJTj4ucHJpdmF0ZS5hdG9tP3Rva2VuPUFOSjVQ\nQU9XRktSUVVKNkhFQlI1V0NONFRTN0UyIiwiY3VycmVudF91c2VyX2FjdG9y\nX3VybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS88R0lUSFVCX0xPR0lOPi5wcml2\nYXRlLmFjdG9yLmF0b20/PDxBQ0NFU1NfVE9LRU4+PiIsImN1cnJlbnRfdXNl\ncl9vcmdhbml6YXRpb25fdXJsIjoiIiwiY3VycmVudF91c2VyX29yZ2FuaXph\ndGlvbl91cmxzIjpbImh0dHBzOi8vZ2l0aHViLmNvbS9vcmdhbml6YXRpb25z\nLzxHSVRIVUJfVEVTVF9PUkdBTklaQVRJT04+LzxHSVRIVUJfTE9HSU4+LnBy\naXZhdGUuYXRvbT90b2tlbj1BTko1UEFNQ1FCS0M1UlFRRVNXTDZYTjRUUzdF\nMiJdLCJzZWN1cml0eV9hZHZpc29yaWVzX3VybCI6Imh0dHBzOi8vZ2l0aHVi\nLmNvbS9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bSt4bWwifV0sInNlY3Vy\naXR5X2Fkdmlzb3JpZXMiOnsiaHJlZiI6Imh0dHBzOi8vZ2l0aHViLmNvbS9z\nZWN1cml0eS1hZHZpc29yaWVzIiwidHlwZSI6ImFwcGxpY2F0aW9uL2F0b20r\neG1sIn19fQ==\n"},"http_version":null},"recorded_at":"Fri, 10 Apr 2020 19:55:28 GMT"}],"recorded_with":"VCR 5.1.0"} |
2 changes: 1 addition & 1 deletion
2
...eds/_feeds/when_authenticated_with_oauth_token/returns_the_authenticated_users_feeds.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/feeds","body":{"encoding":"UTF-8","string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 3.0.0.pre"],"Authorization":["token <<ACCESS_TOKEN>>"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["GitHub.com"],"Date":["Tue, 14 Jan 2014 01:11:09 GMT"],"Content-Type":["application/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Status":["200 OK"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4873"],"X-Ratelimit-Reset":["1389662322"],"Cache-Control":["private, max-age=60, s-maxage=60"],"Etag":["\"9ba716e84faa7e54a0cbc1fa5fe003f8\""],"X-Oauth-Scopes":["user, public_repo, repo, gist"],"Vary":["Accept, Authorization, Cookie, X-GitHub-OTP","Accept-Encoding"],"X-Github-Media-Type":["github.v3; format=json"],"X-Content-Type-Options":["nosniff"],"Access-Control-Allow-Credentials":["true"],"Access-Control-Expose-Headers":["ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"Access-Control-Allow-Origin":["*"],"X-Github-Request-Id":["443FDC73:4B98:1D9060F:52D48EAD"]},"body":{"encoding":"UTF-8","string":"{\"timeline_url\":\"https://github.com/timeline\",\"user_url\":\"https://github.com/{user}\",\"current_user_public_url\":\"https://github.com/<GITHUB_LOGIN>\",\"_links\":{\"timeline\":{\"href\":\"https://github.com/timeline\",\"type\":\"application/atom+xml\"},\"user\":{\"href\":\"https://github.com/{user}\",\"type\":\"application/atom+xml\"},\"current_user_public\":{\"href\":\"https://github.com/<GITHUB_LOGIN>\",\"type\":\"application/atom+xml\"}}}"},"http_version":null},"recorded_at":"Tue, 14 Jan 2014 01:11:09 GMT"}],"recorded_with":"VCR 2.4.0"} | ||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/feeds","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.15.0"],"Content-Type":["application/json"],"Authorization":["token <<ACCESS_TOKEN>>"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Fri, 10 Apr 2020 19:55:46 GMT"],"Content-Type":["application/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Server":["GitHub.com"],"Status":["200 OK"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4996"],"X-Ratelimit-Reset":["1586551942"],"Cache-Control":["private, max-age=60, s-maxage=60"],"Vary":["Accept, Authorization, Cookie, X-GitHub-OTP","Accept-Encoding, Accept, X-Requested-With"],"Etag":["W/\"3f02946e6fa24257da5928d109f6529b\""],"X-Oauth-Scopes":["admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages"],"X-Accepted-Oauth-Scopes":[""],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Github-Request-Id":["C859:76E8:DDFCC:105D0F:5E90CF41"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJ0aW1lbGluZV91cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGltZWxpbmUi\nLCJ1c2VyX3VybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS97dXNlcn0iLCJjdXJy\nZW50X3VzZXJfcHVibGljX3VybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS88R0lU\nSFVCX0xPR0lOPiIsInNlY3VyaXR5X2Fkdmlzb3JpZXNfdXJsIjoiaHR0cHM6\nLy9naXRodWIuY29tL3NlY3VyaXR5LWFkdmlzb3JpZXMiLCJfbGlua3MiOnsi\ndGltZWxpbmUiOnsiaHJlZiI6Imh0dHBzOi8vZ2l0aHViLmNvbS90aW1lbGlu\nZSIsInR5cGUiOiJhcHBsaWNhdGlvbi9hdG9tK3htbCJ9LCJ1c2VyIjp7Imhy\nZWYiOiJodHRwczovL2dpdGh1Yi5jb20ve3VzZXJ9IiwidHlwZSI6ImFwcGxp\nY2F0aW9uL2F0b20reG1sIn0sImN1cnJlbnRfdXNlcl9wdWJsaWMiOnsiaHJl\nZiI6Imh0dHBzOi8vZ2l0aHViLmNvbS88R0lUSFVCX0xPR0lOPiIsInR5cGUi\nOiJhcHBsaWNhdGlvbi9hdG9tK3htbCJ9LCJzZWN1cml0eV9hZHZpc29yaWVz\nIjp7ImhyZWYiOiJodHRwczovL2dpdGh1Yi5jb20vc2VjdXJpdHktYWR2aXNv\ncmllcyIsInR5cGUiOiJhcHBsaWNhdGlvbi9hdG9tK3htbCJ9fX0=\n"},"http_version":null},"recorded_at":"Fri, 10 Apr 2020 19:55:33 GMT"}],"recorded_with":"VCR 5.1.0"} |
2 changes: 1 addition & 1 deletion
2
...ettes/Octokit_Client_Feeds/_feeds/when_unauthenticated/returns_the_public_feeds_list.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/feeds","body":{"encoding":"UTF-8","string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 3.0.0.pre"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["GitHub.com"],"Date":["Tue, 14 Jan 2014 01:11:09 GMT"],"Content-Type":["application/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Status":["200 OK"],"X-Ratelimit-Limit":["60"],"X-Ratelimit-Remaining":["50"],"X-Ratelimit-Reset":["1389662319"],"Cache-Control":["public, max-age=60, s-maxage=60"],"Etag":["\"5bbcf47a2e0583ed37f6702e28f3cfbb\""],"Vary":["Accept","Accept-Encoding"],"X-Github-Media-Type":["github.v3; format=json"],"X-Content-Type-Options":["nosniff"],"Access-Control-Allow-Credentials":["true"],"Access-Control-Expose-Headers":["ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"Access-Control-Allow-Origin":["*"],"X-Github-Request-Id":["443FDC73:4B98:1D905C0:52D48EAD"]},"body":{"encoding":"UTF-8","string":"{\"timeline_url\":\"https://github.com/timeline\",\"user_url\":\"https://github.com/{user}\",\"_links\":{\"timeline\":{\"href\":\"https://github.com/timeline\",\"type\":\"application/atom+xml\"},\"user\":{\"href\":\"https://github.com/{user}\",\"type\":\"application/atom+xml\"}}}"},"http_version":null},"recorded_at":"Tue, 14 Jan 2014 01:11:09 GMT"}],"recorded_with":"VCR 2.4.0"} | ||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/feeds","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.15.0"],"Content-Type":["application/json"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Fri, 10 Apr 2020 19:55:43 GMT"],"Content-Type":["application/json; charset=utf-8"],"Server":["GitHub.com"],"Status":["200 OK"],"Cache-Control":["public, max-age=60, s-maxage=60"],"Vary":["Accept, Accept-Encoding, Accept, X-Requested-With"],"Etag":["W/\"8dd4f949d4e07d5cdae157c8113e7f8e\""],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Ratelimit-Limit":["60"],"X-Ratelimit-Remaining":["58"],"X-Ratelimit-Reset":["1586551943"],"Accept-Ranges":["bytes"],"Content-Length":["157"],"X-Github-Request-Id":["C858:76EA:DA526:105602:5E90CF3E"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJ0aW1lbGluZV91cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGltZWxpbmUi\nLCJ1c2VyX3VybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS97dXNlcn0iLCJzZWN1\ncml0eV9hZHZpc29yaWVzX3VybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9zZWN1\ncml0eS1hZHZpc29yaWVzIiwiX2xpbmtzIjp7InRpbWVsaW5lIjp7ImhyZWYi\nOiJodHRwczovL2dpdGh1Yi5jb20vdGltZWxpbmUiLCJ0eXBlIjoiYXBwbGlj\nYXRpb24vYXRvbSt4bWwifSwidXNlciI6eyJocmVmIjoiaHR0cHM6Ly9naXRo\ndWIuY29tL3t1c2VyfSIsInR5cGUiOiJhcHBsaWNhdGlvbi9hdG9tK3htbCJ9\nLCJzZWN1cml0eV9hZHZpc29yaWVzIjp7ImhyZWYiOiJodHRwczovL2dpdGh1\nYi5jb20vc2VjdXJpdHktYWR2aXNvcmllcyIsInR5cGUiOiJhcHBsaWNhdGlv\nbi9hdG9tK3htbCJ9fX0=\n"},"http_version":null},"recorded_at":"Fri, 10 Apr 2020 19:55:30 GMT"}],"recorded_with":"VCR 5.1.0"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters