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
- abs_url(path : String) : String
- get_issues(repo : String, *, open_only : Bool = false, token : Token) : Iterator(JSON::Any)
- get_pulls(repo : String, *, open_only : Bool = false, token : Token) : Iterator(JSON::Any)
- get_repositories_for_user(token : Token) : Iterator(JSON::Any)
- get_user(token : Token) : JSON::Any
- paginated_graphql(query : String, key : Tuple, vars : Hash | Nil = nil, **kwargs) : Iterator(JSON::Any)
Method Detail
def paginated_graphql(query : String, key : Tuple, vars : Hash | Nil = nil, **kwargs) : Iterator(JSON::Any)
#