Class: Cyrax::Resource

Inherits:
Base
  • Object
show all
Includes:
Extensions::HasDecorator, 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, #serializer_class_name

Methods included from Extensions::HasDecorator

#decorable?, #decorator_class, #decorator_class_name

Methods included from Extensions::HasService

#authorize_resource!, #build, #build_collection, #build_resource, #create, #delete_resource, #destroy, #find_resource, #read, #read_all, #resource_params_id, #save_resource, #transaction, #update

Methods included from Extensions::HasResource

#resource_attributes, #resource_class, #resource_scope, #response_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