module Octokit::Client::Apps

Overview

Methods for the Apps API

Direct including types

Defined in:

octokit/client/apps.cr

Instance Method Summary

Instance Method Detail

def app(**options) #

Get the authenticated App

@param options [Hash] A customizable set of options

@see https://developer.github.com/v3/apps/#get-the-authenticated-app

Example:

@client = Octokit.client(bearer_token: <jwt>)
@client.app

[View source]
def create_app_installation_access_token(installation : Int32, **options) #

Create a new installation token

@param installation [Integer] The id of a GitHub App Installation @param options [Hash] A customizable set of options

@see https://developer.github.com/v3/apps/#create-a-new-installation-token

@return [Sawyer::Resource] An installation token


[View source]
def create_installation_access_token(installation : Int32, **options) #

[View source]
def find_app_installations(**options) : Paginator(Octokit::Models::Installation) #

Find all installations that belong to an App

@param options [Hash] A customizable set of options

@see https://developer.github.com/v3/apps/#list-installations

@return the total_count and an array of installations


[View source]
def find_installations(**options) : Paginator(Octokit::Models::Installation) #

[View source]