Method: Effective::AccessDenied#initialize
- Defined in:
- app/models/effective/access_denied.rb
#initialize(message = nil, action = nil, subject = nil) ⇒ AccessDenied
Returns a new instance of AccessDenied.
6 7 8 9 10 |
# File 'app/models/effective/access_denied.rb', line 6 def initialize( = nil, action = nil, subject = nil) @message = @action = action @subject = subject end |