class Turquoise::Models::Listener

Included Modules

Defined in:

turquoise/models/listener.cr:5
turquoise/models/listener.cr:6

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.find_subscriber!(topic : String | Nil) #

[View source]

Instance Method Detail

def chat : Chat | Nil #

[View source]
def chat! : Chat #

[View source]
def chat=(parent : Chat) #

[View source]
def chat_id : Int64 | Nil #

def chat_id! : Int64 #

def chat_id=(chat_id : Int64 | Nil) #

def check_subscription #

[View source]
def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def subscription : Subscription | Nil #

[View source]
def subscription! : Subscription #

[View source]
def subscription=(parent : Subscription) #

[View source]
def subscription_topic : String #

def subscription_topic=(subscription_topic : String) #

def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #

def user : User | Nil #

[View source]
def user! : User #

[View source]
def user=(parent : User) #

[View source]
def user_id : Int64 | Nil #

def user_id! : Int64 #

def user_id=(user_id : Int64 | Nil) #