class Worker::ApiClient

Defined in:

worker/api_client.cr
worker/api_client/converter.cr
worker/api_client/converter/date_to_time.cr
worker/api_client/converter/datetime_to_time.cr
worker/api_client/converter/seconds_to_time_span.cr
worker/api_client/http_client.cr
worker/api_client/mapping.cr
worker/api_client/mapping/audio.cr
worker/api_client/mapping/audio_list.cr
worker/api_client/mapping/audio_request.cr
worker/api_client/mapping/daily_statistic.cr
worker/api_client/mapping/donation.cr
worker/api_client/mapping/server.cr
worker/api_client/mapping/setting.cr
worker/api_client/mapping/statistic.cr
worker/api_client/websocket_client.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new(worker : Worker) #

[View source]

Instance Method Detail

def audio(manager : String, id : String, format : String) : File | Nil #

[View source]
def run : Nil #

[View source]
def server(server_id : UInt64) : Mapping::Server #

[View source]
def server_save(server : Mapping::Server) : Mapping::Server #

[View source]
def server_save(server_id : UInt64) : Mapping::Server #

[View source]
def stop : Nil #

[View source]
def vk_audios(query : String) : Mapping::AudioRequest #

[View source]