Class: SkinnyControllers::Policy::AllowAll
- 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, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from SkinnyControllers::Policy::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SkinnyControllers::Policy::Base
Instance Method Details
#default? ⇒ Boolean
5 6 7 |
# File 'lib/skinny_controllers/policy/allow_all.rb', line 5 def default? true end |
#read? ⇒ Boolean
9 10 11 |
# File 'lib/skinny_controllers/policy/allow_all.rb', line 9 def read? true end |
#read_all? ⇒ Boolean
13 14 15 |
# File 'lib/skinny_controllers/policy/allow_all.rb', line 13 def read_all? true end |