Module: Authorization::AuthorizationMethods

Defined in:
app/models/authorization.rb

Overview

Authorization class methods

Instance Method Summary (collapse)

Instance Method Details

- (Hash) authorizations

Provides internal access to the defined rules

Returns:

  • (Hash)


72
73
74
75
# File 'app/models/authorization.rb', line 72

def authorizations
  @@authorized_actions ||= {}
  @@authorized_actions
end