class Srcom::Api::Gametypes

Defined in:

srcr/apis/gametypes.cr

Constant Summary

Log = Srcom::Log.for("gametypes")

Class Method Summary

Class Method Detail

def self.find_by_id(id : String) : Srcom::Game::Gametype #

Gets a Game::Gametype by their id.


[View source]
def self.get(sort_direction : String? = nil, page_size : Int32 = 200) : PageIterator(Game::Gametype) #

Gets all gametypes.

Possible values for sort_direction: "desc" or "asc", with "asc" being the default.


[View source]