Top Level Namespace

Defined in:

Constant Summary

APP_SECRET = ENV["APP_SECRET"]
DATABASE_FILE = ENV["DATABASE_FILE"]? || "./db.sqlite"
GitHub = Halite::Client.new do endpoint("https://api.github.com/") logging(skip_request_body: true, skip_response_body: true) end
GITHUB_CLIENT_ID = ENV["GITHUB_CLIENT_ID"]
GITHUB_CLIENT_SECRET = ENV["GITHUB_CLIENT_SECRET"]
PORT = ENV["PORT"]?.try(&.to_i)
URL = ENV["URL"]

Method Summary

Method Detail

def abs_url(path : String) : String #

[View source]
def get_issues(repo : String, *, open_only : Bool = false, token : Token) : Iterator(JSON::Any) #

[View source]
def get_pulls(repo : String, *, open_only : Bool = false, token : Token) : Iterator(JSON::Any) #

[View source]
def get_repositories_for_user(token : Token) : Iterator(JSON::Any) #

[View source]
def get_user(token : Token) : JSON::Any #

[View source]
def paginated_graphql(query : String, key : Tuple, vars : Hash | Nil = nil, **kwargs) : Iterator(JSON::Any) #

[View source]