Class: Core::Controllers::Base

Inherits:
Sinatra::Base
  • Object
show all
Extended by:
Helpers::Declarators
Includes:
Helpers::Accounts, Helpers::Applications, Helpers::Errors, Helpers::Fields, Helpers::Parameters, Helpers::Responses, Helpers::Routes, Helpers::Scopes, Helpers::Tokens
Defined in:
lib/core/controllers/base.rb

Overview

This class represents a base controller for the system, giving access to checking methods for sessions, gateways, applications, etc.

Author:

Method Summary

Methods included from Helpers::Declarators

api_route

Methods included from Helpers::Parameters

#body_params, #params, #sym_params

Methods included from Helpers::Accounts

#account, #account_id_not_found

Methods included from Helpers::Routes

#current_route

Methods included from Helpers::Fields

#check_either_presence, #check_presence, #field_defined?

Methods included from Helpers::Applications

#application, #application_model

Methods included from Helpers::Scopes

#check_app_scopes, #check_token_scopes, #fetch_scopes

Methods included from Helpers::Tokens

#token

Methods included from Helpers::Responses

#api_created, #api_item, #api_list, #api_ok

Methods included from Helpers::Errors

#api_bad_request, #api_error, #api_forbidden, #api_not_found