struct Notification

Included Modules

Defined in:

routes/notifications.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(recipient : String, title : String, body : Nil | String, path : String, id : UUID = UUID.random, created_at : Time = Time.utc) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def body : String | Nil #

[View source]
def created_at : Time #

[View source]
def id : UUID #

[View source]
def path : String #

[View source]
def recipient : String #

[View source]
def title : String #

[View source]