Class: Cyrax::Resource

Inherits:
Base
  • Object
show all
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

#accessor, #options, #params

Method Summary

Methods included from Extensions::HasSerializer

#serializable?, #serializer_class

Methods included from Extensions::HasDecorator

#decorable?, #decorator_class

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

#initialize, #wrap_params

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