Class: SkinnyControllers::Policy::DenyAll

Inherits:
Base
  • Object
show all
Defined in:
lib/skinny_controllers/policy/deny_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

Returns:

  • (Boolean)


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

def default?; false; end

#read?Boolean

Returns:

  • (Boolean)


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

def read?; false; end

#read_all?Boolean

Returns:

  • (Boolean)


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

def read_all?; false; end