Module Resourceful::Base
In: lib/resourceful/base.rb

All modules included by this module are made available to the controller as accessors.

Methods

Included Modules

Resourceful::Default::Accessors Resourceful::Default::Responses Resourceful::Default::Callbacks Resourceful::Default::URLs

Public Class methods

This method is meant to be called by included classes. It takes a block of the same form as that given to Maker#make_resourceful. The Maker will then run that block along with the blocks given by the individual controllers.

[Source]

    # File lib/resourceful/base.rb, line 40
40:   def self.made_resourceful(&block)
41:     if block
42:       @@made_resourceful_callbacks << block
43:     else
44:       @@made_resourceful_callbacks
45:     end
46:   end

[Validate]