Top Level Namespace
Included Modules
- Debug::KernelExtension
Extended Modules
- Debug::KernelExtension
Defined in:
Method Summary
- request_accepts?(request, content_type)
- request_accepts_json?(request)
- restore_headers_on_exception(response, &)
- send_204(env) : Nil
- send_file(env, file : GPhoto2::CameraFile, *, mime_type : String | Nil = nil, disposition = nil)
-
send_file(env, file : GPhoto2::CameraFile, *, format : ImageOutputFormat | Nil, fallback : ImageOutputFormat = :jpeg, width : Int | Nil = nil, height : Int | Nil = nil, disposition = nil)
ameba:disable Metrics/CyclomaticComplexity
- send_folder_zip(env, folder : GPhoto2::CameraFolder, archive_name : String | Nil = nil) : Nil
- send_html(env, object) : Nil
- send_json(env, object) : Nil
Method Detail
def send_file(env, file : GPhoto2::CameraFile, *, mime_type : String | Nil = nil, disposition = nil)
#
def send_file(env, file : GPhoto2::CameraFile, *, format : ImageOutputFormat | Nil, fallback : ImageOutputFormat = :jpeg, width : Int | Nil = nil, height : Int | Nil = nil, disposition = nil)
#
ameba:disable Metrics/CyclomaticComplexity