Module: AuthorizeWhen

Included in:
ActionController::Base
Defined in:
lib/authorize_when/forbidden_exception.rb,
lib/authorize_when.rb

Overview

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Defined Under Namespace

Modules: ClassMethods Classes: ForbiddenException

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



23
24
25
# File 'lib/authorize_when.rb', line 23

def self.included(base)
    base.extend ClassMethods
end