class HandlerBase

Direct Known Subclasses

Defined in:

handlers/base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(connection : AllqClient::Connection) #

[View source]

Instance Method Detail

def build_action_job(action_name : String, job) #

[View source]
def build_action_job_with_data_hash(action_name : String, job, data_hash : Hash(String, String)) #

[View source]
def build_action_with_data_hash(action_name, data_hash : Hash(String, String)) #

[View source]
def build_action_with_field_tuple(action_name : String, field_name : String, field_value : String) #

[View source]
def get_job_id_from_response(data) : String #

[View source]
def normalize_json_hash(json_hash : JSON::Any) #

[View source]
def send_and_parse_response(request_json) #

[View source]