module Restful::Base
This is the main module for Restful
implementation, in here class methods that implement the configuration macro that need to be included in controllers is defined.
Also in this module exists the definition of instance methods need it by the actions injected to a controller.
Public Class Methods
included(base)
click to toggle source
Through this method, when this module is included in a controller, all Restful
functionality is defined for it.
# File lib/restful/base.rb, line 13 def self.included(base) base.extend ClassMethods end