Class: Cyrax::Resource
- Includes:
- Extensions::HasDecorator, Extensions::HasRepository, Extensions::HasResource, Extensions::HasSerializer, Extensions::HasService
- Defined in:
- lib/cyrax/resource.rb
Constant Summary
Constants included from Extensions::HasResponse
Extensions::HasResponse::STATUS_VALUES
Instance Attribute Summary
Attributes inherited from Base
Method Summary
Methods included from Extensions::HasSerializer
#serializable?, #serializer_class
Methods included from Extensions::HasDecorator
Methods included from Extensions::HasService
#authorize_resource!, #build, #create, #destroy, #read, #read_all, #resource_params_id, #set_resource_attributes, #transaction, #update
Methods included from Extensions::HasRepository
#repository, #repository_class
Methods included from Extensions::HasResource
#collection_name, #resource_attributes, #resource_class, #resource_name
Methods inherited from Base
Methods included from Extensions::HasResponse
#add_error, #add_error_unless, #assign_resource, #assignment, #reset_errors, #respond_with, #response_name, #set_message, #set_status, #sync_errors_with, #sync_errors_with?
Constructor Details
This class inherits a constructor from Cyrax::Base