module

Octokit

Crystal toolkit for the GitHub API.

Note: All examples contained herein assume that @client is an instantiated Octokit::Client with a valid user configured.

Constants

VERSION = "0.2.4"

Class methods

client(login = nil, password = nil, *, access_token = nil, bearer_token = nil, client_id = nil, client_secret = nil)

API client based on configuration options in Configurable

Source
enterprise_admin_client

EnterpriseAdminClient client based on configuration options in Configurable

Source
enterprise_management_console_client

EnterpriseManagementConsoleClient client based on configuration options in Configurable

Source

Macros

initializer_for(properties)

writes basic initializer from properti maps used by JSON.mapping if a mustbe field is present for the value, the initializer will set the instance variable to the given value

Source
initializer_for
Source
rest_model(fields)
Source
rest_model
Source

Nested types