Module: ResourceMapper

Defined in:
lib/resource_mapper/accessors.rb,
lib/resource_mapper.rb,
lib/resource_mapper/actions.rb,
lib/resource_mapper/controller.rb,
lib/resource_mapper/class_methods.rb,
lib/resource_mapper/action_options.rb,
lib/resource_mapper/helpers/nested.rb,
lib/resource_mapper/helpers/internal.rb,
lib/resource_mapper/response_collector.rb,
lib/resource_mapper/failable_action_options.rb,
lib/resource_mapper/helpers/current_objects.rb

Overview

Internal action lifecycle management.

All of these methods are used internally to execute the options, set by the user in ActionOptions and FailableActionOptions

Defined Under Namespace

Modules: Accessors, Actions, ClassMethods, Controller, Helpers Classes: ActionOptions, FailableActionOptions, ResponseCollector

Constant Summary collapse

ACTIONS =
[:index, :show, :create, :update, :destroy]
SINGLETON_ACTIONS =
(ACTIONS - [:index]).freeze
FAILABLE_ACTIONS =
(ACTIONS - [:index]).freeze
NAME_ACCESSORS =
[:model_name, :route_name, :object_name]