class Srcom::Api::Genres

Defined in:

srcr/apis/genres.cr

Constant Summary

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

Class Method Summary

Class Method Detail

def self.find_by_id(id : String) : Srcom::Genre #

Gets a Genre by their id.


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

Gets all genres.

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


[View source]