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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
accepting_orders
Sourceactive
Sourcearchived
Sourcecategory
Sourceclosed
Sourcecondition_id
Sourceend_time
Sourceevent_id
Sourcegamma_id
Sourceid
Sourceoutcomes
Sourcequestion
Sourcequestion_id
Sourceslug
Source