class Srcom::Api::Platforms
- Srcom::Api::Platforms
- Reference
- Object
Defined in:
srcr/apis/platforms.crConstant Summary
-
Log =
Srcom::Log.for("platforms")
Class Method Summary
-
.find_by_id(id : String) : Srcom::Platform
Gets a
Platform
by its id. -
.get(order_by : String | Nil = nil, sort_direction : String | Nil = nil, page_size : Int32 = 200) : PageIterator(Platform)
Gets all platforms.
Class Method Detail
def self.get(order_by : String | Nil = nil, sort_direction : String | Nil = 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.