class Gitlab::API

Defined in:

lib/gitlab/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(access_token : String, logging : Bool = true) #

[View source]

Instance Method Detail

def client #

[View source]
def client=(client : Nil | Crest::Resource) #

[View source]
def get_file(project_id : Int32, file_path : String) #

[View source]
def group(id : Int32) #

[View source]
def logging : Bool #

[View source]
def logging=(logging : Bool) #

[View source]
def make_request(url : String, params = {} of String => String) #

[View source]
def project(user : String, project : String) #

[View source]
def project(id : Int32) #

[View source]
def project(full_name : String) #

[View source]
def project_languages(project_id : Int32) : Hash(String, Float64) #

[View source]
def project_releases(project_id : Int32) #

[View source]
def projects(page = 1, items = [] of Gitlab::Project, per_page = 100) : Gitlab::Projects #

Recursive get Crystal projects


[View source]
def recently_updated(per_page = 10) #

[View source]
def user(id : Int32) #

[View source]