Top Level Namespace

Included Modules

Extended Modules

Defined in:

Method Summary

Method Detail

def request_accepts?(request, content_type) #

[View source]
def request_accepts_json?(request) #

[View source]
def restore_headers_on_exception(response, &) #

[View source]
def send_204(env) : Nil #

[View source]
def send_file(env, file : GPhoto2::CameraFile, *, mime_type : String | Nil = nil, disposition = nil) #

[View source]
def send_file(env, file : GPhoto2::CameraFile, *, format : ImageOutputFormat | Nil, width : Int | Nil = nil, height : Int | Nil = nil, disposition = nil) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def send_folder_zip(env, folder : GPhoto2::CameraFolder, archive_name : String | Nil = nil) : Nil #

[View source]
def send_html(env, object) : Nil #

[View source]
def send_json(env, object) : Nil #

[View source]