class

Turquoise::Jobs::SendPetImage

Inherits Mosquito::QueuedJob < Mosquito::Job < Mosquito::Serializers::Primitives < Reference < Object

Constants

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

Constructors

new(pet : String, chat_id : Int64)
new

Class methods

job_name
Source

Instance methods

build_job_run
chat_id
Source
chat_id=(value : Int64) : Int64
Source
chat_id?
Source
perform

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

Source
pet=(value : String) : String
Source
pet?
Source
vars_from(config : Hash(String, String))

Macros

param(parameter)
Source