class Srcom::Api::Platforms

Defined in:

srcr/apis/platforms.cr

Constant Summary

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

Class Method Summary

Class Method Detail

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

Gets a Platform by its id.


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

Gets all platforms.

Possible values for order_by: "released" or "name", with the default being "name".

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


[View source]