Class: SkinnyControllers::Policy::AllowAll

Inherits:
Base
  • Object
show all
Defined in:
lib/skinny_controllers/policy/allow_all.rb

Instance Attribute Summary

Attributes inherited from Base

#authorized_via_parent, #object, #user

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from SkinnyControllers::Policy::Base

Instance Method Details

#default?Boolean



4
# File 'lib/skinny_controllers/policy/allow_all.rb', line 4

def default?; true; end

#read?Boolean



5
# File 'lib/skinny_controllers/policy/allow_all.rb', line 5

def read?; true; end

#read_all?Boolean



6
# File 'lib/skinny_controllers/policy/allow_all.rb', line 6

def read_all?; true; end