abstract class ApiAction

Overview

Include modules and add methods that are for all API requests

Included Modules

Direct Known Subclasses

Defined in:

actions/api_action.cr

Constant Summary

AFTER_PIPES = [] of Symbol

Include modules and add methods that are for all API requests

BEFORE_PIPES = [set_turbolinks_location_header_from_session, verify_accepted_format, check_api_key] of Symbol

Include modules and add methods that are for all API requests

EXPOSURES = [] of Symbol

Include modules and add methods that are for all API requests

PARAM_DECLARATIONS = [] of Crystal::Macros::TypeDeclaration

Include modules and add methods that are for all API requests

ROUTE_SETTINGS = {prefix: ""}

Include modules and add methods that are for all API requests

SKIPPED_PIPES = [] of Symbol

Include modules and add methods that are for all API requests

Class Method Summary

Class Method Detail

def self._accepted_formats #