Module: RESTFramework::ReadOnlyModelControllerMixin

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

Overview

Mixin that includes show/list mixins.

Class Method Summary collapse

Methods included from ShowModelMixin

#_show, #show

Methods included from ListModelMixin

#_index, #index

Methods included from BaseControllerMixin

#root

Class Method Details

.included(base) ⇒ Object



286
287
288
289
290
# File 'lib/rest_framework/controller_mixins/models.rb', line 286

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