Method: Subroutine::Auth::ClassMethods#authorize

Defined in:
lib/subroutine/auth.rb

#authorize(check_name) ⇒ Object



31
32
33
# File 'lib/subroutine/auth.rb', line 31

def authorize(check_name)
  self.authorization_checks += [check_name.to_sym]
end