Module: Hydra::Ability::ClassMethods
- Defined in:
- lib/hydra/ability.rb
Instance Method Summary collapse
- #discover_group_field ⇒ Object
- #discover_user_field ⇒ Object
- #edit_group_field ⇒ Object
- #edit_user_field ⇒ Object
- #read_group_field ⇒ Object
- #read_user_field ⇒ Object
Instance Method Details
#discover_group_field ⇒ Object
144 145 146 |
# File 'lib/hydra/ability.rb', line 144 def discover_group_field Hydra.config..discover.group end |
#discover_user_field ⇒ Object
148 149 150 |
# File 'lib/hydra/ability.rb', line 148 def discover_user_field Hydra.config..discover.individual end |
#edit_group_field ⇒ Object
140 141 142 |
# File 'lib/hydra/ability.rb', line 140 def edit_group_field Hydra.config..edit.group end |
#edit_user_field ⇒ Object
132 133 134 |
# File 'lib/hydra/ability.rb', line 132 def edit_user_field Hydra.config..edit.individual end |
#read_group_field ⇒ Object
128 129 130 |
# File 'lib/hydra/ability.rb', line 128 def read_group_field Hydra.config..read.group end |
#read_user_field ⇒ Object
136 137 138 |
# File 'lib/hydra/ability.rb', line 136 def read_user_field Hydra.config..read.individual end |