class HqTrivia::Model::GameSummary

Overview

Sent from the server containing information about the game, once it has ended. Including winner information.

Included Modules

Defined in:

hqtrivia/model/game_summary.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_176 : JSON::PullParser) #

[View source]

Instance Method Detail

def c : Int32 #

[View source]
def c=(_c : Int32) #

[View source]
def num_winners : Int32 #

[View source]
def num_winners=(_num_winners : Int32) #

[View source]
def sent : Time #

[View source]
def sent=(_sent : Time) #

[View source]
def show_id : Int32 #

[View source]
def show_id=(_show_id : Int32) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def ts : Time #

[View source]
def ts=(_ts : Time) #

[View source]
def type : String #

[View source]
def type=(_type : String) #

[View source]
def winners : Array(Winner) #

[View source]
def winners=(_winners : Array(Winner)) #

[View source]
def you_won : Bool #

[View source]
def you_won=(_you_won : Bool) #

[View source]