class Turquoise::Jobs::SendPetImage

Defined in:

turquoise/jobs/send_pet_image.cr

Constant Summary

PARAMETERS = [{name: pet, value: , type: String, method_suffix: string}, {name: chat_id, value: , type: Int64, method_suffix: int64}] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(pet : String, chat_id : Int64) #

def self.new #

Class Method Detail

def self.job_name #

[View source]

Macro Detail

macro param(parameter) #

[View source]

Instance Method Detail

def build_job_run #

def chat_id : Int64 #

[View source]
def chat_id=(value : Int64) : Int64 #

[View source]
def chat_id? : Int64 | Nil #

[View source]
def perform #

Send a random static (jpg or png) or animated (gif) image.


[View source]
def pet : String #

[View source]
def pet=(value : String) : String #

[View source]
def pet? : String | Nil #

[View source]
def vars_from(config : Hash(String, String)) #