class

PolyScan::Market

Inherits JSON::Serializable < Reference < Object

Constructors

new(id : String, event_id : String, slug : String, question : String, category : String, end_time : String | Nil, active : Bool, outcomes : Array(PolyScan::Outcome) = [] of Outcome, gamma_id : String | Nil = nil, condition_id : String | Nil = nil, question_id : String | Nil = nil, closed : Bool = false, archived : Bool = false, accepting_orders : Bool = true)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

accepting_orders
Source
active
Source
archived
Source
category
Source
closed
Source
condition_id
Source
end_time
Source
event_id
Source
gamma_id
Source
outcomes
Source
outcomes=(outcomes : Array(Outcome))
Source
question
Source
question_id
Source
slug
Source