Module: RESTFramework::ModelControllerMixin

Includes:
BaseModelControllerMixin, CreateModelMixin, DestroyModelMixin, ListModelMixin, ShowModelMixin, UpdateModelMixin
Defined in:
lib/rest_framework/controller_mixins/models.rb

Overview

Mixin that includes all the CRUD mixins.

Class Method Summary collapse

Methods included from DestroyModelMixin

#destroy

Methods included from UpdateModelMixin

#update

Methods included from CreateModelMixin

#create

Methods included from ShowModelMixin

#show

Methods included from ListModelMixin

#index

Methods included from BaseControllerMixin

#root

Class Method Details

.included(base) ⇒ Object



256
257
258
259
260
# File 'lib/rest_framework/controller_mixins/models.rb', line 256

def self.included(base)
  if base.is_a? Class
    RESTFramework::BaseModelControllerMixin.included(base)
  end
end