struct Srcom::Platform
- Srcom::Platform
- Struct
- Value
- Object
Overview
Has shorthand methods to getting the resources that the Link
s in #links
point to.
Included Modules
- JSON::Serializable
Defined in:
srcr/mappings/platform/platform.crConstructors
Instance Method Summary
- #games(page_size : Int32 = 20) : Srcom::Api::PageIterator(Game)
- #id : String
- #id=(id : String)
- #links : Array(Link)
- #links=(links : Array(Link))
- #name : String
- #name=(name : String)
- #released : Int32
- #released=(released : Int32)
- #runs(page_size : Int32 = 200) : Srcom::Api::PageIterator(Run)
Constructor Detail
Instance Method Detail
Gets all the Game
s playable on this Platform
.
NOTE Defaults to 20 results per page as otherwise the request might very well 503.