Module: RESTFramework
- Defined in:
- lib/rest_framework/version.rb,
lib/rest_framework.rb
Overview
Do not use Rails-specific helper methods here (e.g., ‘blank?`) so the module can run standalone.
Defined Under Namespace
Modules: BaseControllerMixin, BaseModelControllerMixin, ControllerMixins, CreateModelMixin, DestroyModelMixin, Generators, ListModelMixin, ModelControllerMixin, ReadOnlyModelControllerMixin, ShowModelMixin, UpdateModelMixin, Utils, Version Classes: ActiveModelSerializerAdapterFactory, BaseFilter, BasePaginator, BaseSerializer, Engine, Error, ModelFilter, ModelOrderingFilter, ModelSearchFilter, NativeSerializer, NilPassedToAPIResponseError, PageNumberPaginator
Constant Summary collapse
- BUILTIN_ACTIONS =
{ index: :get, new: :get, create: :post, }.freeze
- BUILTIN_MEMBER_ACTIONS =
{ show: :get, edit: :get, update: [:put, :patch], destroy: :delete, }.freeze
- RRF_BUILTIN_ACTIONS =
{ options: :options, }.freeze
- VERSION =
Version.get_version