struct Report
- Report
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
routes/moderation.crConstructors
- .new(reporter : String, reportee : String, post_id : String, note : String, created_at : Time = Time.utc)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #created_at : Time
- #id : UUID
- #note : String
- #post_id : String
- #reportee : String
- #reporter : String
- #resolved_at : Time | Nil
- #resolved_by : String | Nil
- #status : Status
Constructor Detail
def self.new(reporter : String, reportee : String, post_id : String, note : String, created_at : Time = Time.utc)
#