Skip to content

Commit

Permalink
add repository invitations preview
Browse files Browse the repository at this point in the history
  • Loading branch information
tarebyte committed Jun 26, 2016
1 parent a4b3d6b commit 0fcf435
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/octokit/preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ module Octokit
module Preview

PREVIEW_TYPES = {
:branch_protection => 'application/vnd.github.loki-preview+json'.freeze,
:migrations => 'application/vnd.github.wyandotte-preview+json'.freeze,
:licenses => 'application/vnd.github.drax-preview+json'.freeze,
:source_imports => 'application/vnd.github.barred-rock-preview'.freeze,
:branch_protection => 'application/vnd.github.loki-preview+json'.freeze,
:migrations => 'application/vnd.github.wyandotte-preview+json'.freeze,
:licenses => 'application/vnd.github.drax-preview+json'.freeze,
:source_imports => 'application/vnd.github.barred-rock-preview'.freeze,
:repository_invitations => 'application/vnd.github.swamp-thing-preview+json'.freeze,
}

def ensure_api_media_type(type, options)
Expand Down

0 comments on commit 0fcf435

Please sign in to comment.