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, #destroy

Methods included from UpdateModelMixin

#_update, #update

Methods included from CreateModelMixin

#_create, #create

Methods included from ShowModelMixin

#_show, #show

Methods included from ListModelMixin

#_index, #index

Methods included from BaseControllerMixin

#root

Class Method Details

.included(base) ⇒ Object



300
301
302
303
304
# File 'lib/rest_framework/controller_mixins/models.rb', line 300

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