class Turquoise::Models::Subscription

Included Modules

Defined in:

turquoise/models/subscription.cr:3
turquoise/models/subscription.cr:4

Constructors

Instance Method Summary

Constructor Detail

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

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

Instance Method Detail

def active? #

[View source]
def chats #

[View source]
def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def is_active : Bool #

[View source]
def is_active=(is_active : Bool) #

[View source]
def listeners #

[View source]
def secret : String | Nil #

[View source]
def secret! : String #

[View source]
def secret=(secret : String | Nil) #

[View source]
def subscribe #

[View source]
def to_subscriber #

[View source]
def topic : String | Nil #

[View source]
def topic! : String #

[View source]
def topic=(topic : String | Nil) #

[View source]
def unsubscribe #

[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #

def users #

[View source]