class Worker::AudioSelectionsStorage

Overview

Handle audio selections

Defined in:

worker/audio_selections_storage.cr

Constant Summary

Log = Worker::Log.for("audio_selections_storage")

Constructors

Instance Method Summary

Constructor Detail

def self.new(worker : Worker) #

[View source]

Instance Method Detail

def []=(server_id : UInt64, user_id : UInt64, audio_selection : AudioSelection) : AudioSelection #

[View source]
def []?(server_id : UInt64, user_id : UInt64) : AudioSelection | Nil #

[View source]
def audio_selections : Hash(UInt64, Hash(UInt64, AudioSelection)) #

[View source]
def delete(server_id : UInt64, user_id : UInt64) : AudioSelection | Nil #

[View source]
def delete(audio_selection : AudioSelection) : AudioSelection | Nil #

[View source]