This mixing provides REST operations for a given resource. When the mixin is included, the ClassMethods module is added to the class that includes it.
Methods
Classes and Modules
Module RESTOperations::ClassMethodsPublic Class methods
React to the event of this mixin being included. The including (base) class will be extended with the methods defined in the ClassMethod module.
[ show source ]
# File app/controllers/restful_controller.rb, line 7 7: def self.included(base) 8: base.extend(ClassMethods) 9: end