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 = [verify_accepted_format, require_auth_token] 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: "/api/v1"}

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

Instance methods inherited from module Api::Auth::Helpers

current_user? : User | Nil current_user?

Class Method Detail

def self._accepted_formats #

[View source]