struct Notification
- Notification
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
routes/notifications.crConstructors
- .new(recipient : String, title : String, body : Nil | String, path : String, id : UUID = UUID.random, created_at : Time = Time.utc)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #body : String | Nil
- #created_at : Time
- #id : UUID
- #path : String
- #recipient : String
- #title : String
Constructor Detail
def self.new(recipient : String, title : String, body : Nil | String, path : String, id : UUID = UUID.random, created_at : Time = Time.utc)
#