Class: Caprese::Controller
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Caprese::Controller
- Extended by:
- Versioning
- Includes:
- ActiveSupport::Configurable, Callbacks, Errors, Persistence, Query, Relationships, Rendering, Typing, Versioning
- Defined in:
- lib/caprese/controller.rb
Overview
TODO: Convert to ActionController::API with Rails 5
Constant Summary
Constants included from Callbacks
Method Summary
Methods included from Versioning
unversion, version_dot_path, version_module, version_name, version_path
Methods included from Typing
#controller_record_class, #fail_on_type_mismatch, #record_class
Methods included from Rendering
Methods included from Relationships
#get_relationship_data, #get_relationship_definition, #relationship_scope, #update_relationship_definition
Methods included from Query
#apply_sorting_pagination_to_scope, #get_record, #get_record!, #index, #queried_collection, #queried_record, #queried_record_scope, #query_params, #record_scope, #show