class Lgwsim::State

Defined in:

state.cr

Constant Summary

FILENAME = "state.json"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new #

[View source]

Class Method Detail

def self.load #

[View source]

Instance Method Detail

def last_ao_id : Union(String, Nil) #

def last_ao_id=(_last_ao_id : Union(String, Nil)) #

def last_at_id : Union(String, Nil) #

def last_at_id=(etag : String | Nil) #

[View source]
def messages : Array(Message) #

def messages=(_messages : Array(Message)) #

def save #

[View source]
def sticky_respondents : Set(String) #

def sticky_respondents=(_sticky_respondents : Set(String)) #

def to_json(json : JSON::Builder) #