Class: Virtuatable::Controllers::Base
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Virtuatable::Controllers::Base
- Extended by:
- Helpers::Declarators
- Includes:
- API::Errors, Helpers::Accounts, Helpers::Applications, Helpers::Fields, Helpers::Gateways, Helpers::Routes, Helpers::Sessions
- Defined in:
- lib/virtuatable/controllers/base.rb
Overview
This class represents a base controller for the system, giving access to checking methods for sessions, gateways, applications, etc.
Instance Attribute Summary
Attributes included from Helpers::Declarators
Method Summary
Methods included from Helpers::Declarators
add_permissions, add_route, api_route, builder, complete_path, default_options, push_route
Methods included from Helpers::Accounts
Methods included from Helpers::Routes
Methods included from Helpers::Fields
#check_either_presence, #check_presence, #field_defined?
Methods included from Helpers::Applications
Methods included from Helpers::Gateways
Methods included from Helpers::Sessions
Methods included from API::Errors
#api_bad_request, #api_error, #api_forbidden, #api_not_found