class GitLab::Collection(T)

Included Modules

Direct Known Subclasses

Defined in:

gitlab/collection.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class GitLab

api : URI api, api=(api : URI) api=, get(path : String, & : HTTP::Client::Response -> )
get(path : String)
get(uri : URI)
get
, home : Path home, home=(home : Path) home=, markdown(text : String, gfm : Bool = true, project : UInt128 | String | Nil = nil) markdown, namespace namespace, post(path : String, data : NamedTuple) post, project project, project? project?, token : String token, token=(token : String) token=, user(id) : User
user : Me
user
, users users, version version

Class methods inherited from class GitLab

cli(op : OptionParser) cli

Constructor Detail

def self.new(current : Array(T), next __arg1 : URI | Nil) #

[View source]

Class Method Detail

def self.from(resp) #

[View source]
def self.next(links : String | Nil) #

[View source]

Instance Method Detail

def next #
Description copied from module Iterator(T)

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.


[View source]