Class: Object

Inherits:
BasicObject
Defined in:
lib/strongbolt.rb

Overview

We add a method to any object to quickly tell which method should not have any authorization check perform

Class Method Summary collapse

Class Method Details

.perform_without_authorization(*method_names) ⇒ Object



205
206
207
# File 'lib/strongbolt.rb', line 205

def self.perform_without_authorization(*method_names)
  method_names.each { |name| setup_without_authorization name }
end