module Stars::API

Extended Modules

Defined in:

api.cr
api_structs.cr

Instance Method Summary

Instance Method Detail

def auth_token(username : String) : String #

[View source]
def create_package(username : String, password : String, packageName : String, repository : String, authenticationToken : String) : Crest::Response #

[View source]
def create_user(name : String, email : String, password : String) : Crest::Response #

[View source]
def fetch_package(author : String, name : String) : Package #

[View source]
def fetch_user(username : String, expose_password = false) : Author #

[View source]
def package_exists?(author : String, name : String) : Bool #

[View source]
def up? : Bool #

[View source]
def user_authorized?(username : String, password : String) : Bool #

[View source]
def user_exists?(username : String) : Bool #

[View source]