PrivPage::UserRepository
Inherits Struct / Value / Object
Represents an user repository transformed to a safe subdomain.
Constructors
new(subdomain : String, user : String, repository : String, base_branch : String | Nil = nil)
SourceClass methods
delimiter=(delimiter : String)
Delimiter between the user, repository and optionally, the branch.
from_subdomain(first_subdomain_part : String, response : HTTP::Server::Response) : UserRepository | Nil
Sourcesplit_first_subdomain_part(host : String) : Tuple(String, String)
Sourcesubdomains_count
Sourcesubdomains_count=(subdomains_count : Int32)
SourceInstance methods
base_branch
Sourcerepository
Sourcesubdomain
Sourceuser
Source