Class: BreakDance::Policy
- Inherits:
-
Object
- Object
- BreakDance::Policy
- Defined in:
- lib/break_dance/policy.rb
Instance Attribute Summary collapse
-
#excluded_select_values ⇒ Object
Returns the value of attribute excluded_select_values.
-
#resources ⇒ Object
Returns the value of attribute resources.
-
#scopes ⇒ Object
Returns the value of attribute scopes.
Instance Method Summary collapse
-
#initialize ⇒ Policy
constructor
A new instance of Policy.
Constructor Details
#initialize ⇒ Policy
Returns a new instance of Policy.
5 6 7 8 9 |
# File 'lib/break_dance/policy.rb', line 5 def initialize @scopes = {} @resources = {} @excluded_select_values = {} end |
Instance Attribute Details
#excluded_select_values ⇒ Object
Returns the value of attribute excluded_select_values.
3 4 5 |
# File 'lib/break_dance/policy.rb', line 3 def excluded_select_values @excluded_select_values end |
#resources ⇒ Object
Returns the value of attribute resources.
3 4 5 |
# File 'lib/break_dance/policy.rb', line 3 def resources @resources end |
#scopes ⇒ Object
Returns the value of attribute scopes.
3 4 5 |
# File 'lib/break_dance/policy.rb', line 3 def scopes @scopes end |