struct Srcom::Region
- Srcom::Region
- 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/region/region.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)
- #runs(page_size : Int32 = 200) : Srcom::Api::PageIterator(Run)
Constructor Detail
Instance Method Detail
Gets all the Game
s playable in this Region
.
NOTE Defaults to 20 results per page as otherwise the request might very well 503.