struct

Srcom::Notification

Inherits JSON::Serializable / Struct / Value / Object

Has shorthand methods to getting the resources that the Links in #links point to.

Constructors

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

Instance methods

created
Source
created=(created : Time)
Source
game

Returns the Game this Notification links to, if it links a Game.

Source
id=(id : String)
Source
item
Source
item=(item : Notification::Item)
Source
read?

Returns whether this Notification has already been read.

Source
run

Returns the Run this Notification links to, if it links a Run.

Source
status
Source
status=(status : String)
Source
text
Source
text=(text : String)
Source

Nested types