Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commiteb07772

Browse files
committed
Add syntax highlighting for snippet
1 parent6c4df5b commiteb07772

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎content/guides/discovering-resources-for-a-user.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Just as we did when discovering repositories above, we'll start by requiring [Gi
6969

7070
Next, we'll opt in to the[upcoming enhancements to the organization listing API][list-orgs-for-current-user]. To do so, we'll set the media type that gives us access to that functionality.
7171

72+
#!ruby
7273
Octokit.default_media_type = "application/vnd.github.moondragon+json"
7374

7475
Now, we'll pass in our application's[OAuth token for a given user][make-authenticated-request-for-user] to initialize our API client:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp