Class: Recurso::Global
- Inherits:
-
Object
- Object
- Recurso::Global
- Includes:
- Resource, Singleton
- Defined in:
- lib/recurso/models/global.rb
Instance Method Summary collapse
Methods included from Resource
included, #policy_class, #policy_type, #policy_type=, #relevant_levels_for, #relevant_policy_type, #relevant_resources
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Method Details
#permission_policy ⇒ Object
11 12 13 |
# File 'lib/recurso/models/global.rb', line 11 def OpenStruct.new(policy_type: :open) end |