struct

Srcom::Category

Inherits JSON::Serializable / Struct / Value / Object

Has shorthand methods to getting the resources that the Links in #links point to. Does not cover the Link to get the applicable Variables, since those are already embedded.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

full_game

Gets the full Game resource that this Category belongs to.

Source
game
Source
game=(game : SimpleGame)
Source
id=(id : String)
Source
miscellaneous
Source
miscellaneous=(miscellaneous : Bool)
Source
name
Source
name=(name : String)
Source
players
Source
players=(players : Categories::Players)
Source
rules
Source
rules=(rules : String | Nil)
Source
runs(page_size : Int32 = 200) : Srcom::Api::PageIterator(Run)

Gets all Runs completed in this Category.

Source
type
Source
type=(type : String)
Source
variables
Source
variables=(variables : Array(Variable))
Source