Class: Api::ResourcesController::Base

Inherits:
Object
  • Object
show all
Includes:
CountAction, DeleteAllAction, DestroyAllAction, FirstAction, LastAction, QueryConditions, Resources, RestActions, RestResourceUrls, Serialization, ApiControllerConcerns::ExceptionHandling
Defined in:
app/controllers/api/resources_controller/base.rb

Defined Under Namespace

Modules: CountAction, DeleteAllAction, DestroyAllAction, FirstAction, LastAction, QueryConditions, Resources, RestActions, RestResourceUrls, Serialization Classes: PatchedParameters

Instance Method Summary collapse

Methods included from LastAction

#last

Methods included from FirstAction

#first

Methods included from DeleteAllAction

#delete_all

Methods included from DestroyAllAction

#destroy_all

Methods included from CountAction

#count

Methods included from Resources

#resource_class

Methods included from RestActions

#create, #delete, #destroy, #index, #show, #update

Instance Method Details

#paramsObject


335
336
337
# File 'app/controllers/api/resources_controller/base.rb', line 335

def params
  @_params ||= PatchedParameters.new(request.parameters)
end