Module: RESTFramework::ReadOnlyModelControllerMixin

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

Class Method Summary collapse

Methods included from ShowModelMixin

#show

Methods included from ListModelMixin

#index

Methods included from BaseControllerMixin

#root

Class Method Details

.included(base) ⇒ Object



197
198
199
200
201
# File 'lib/rest_framework/controller_mixins/models.rb', line 197

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