Class: PaidUp::RolifyFeatureSettingType
- Inherits:
-
FeatureSettingType
- Object
- FeatureSettingType
- PaidUp::RolifyFeatureSettingType
- Defined in:
- lib/paid_up/feature_setting_types/rolify.rb
Overview
Class for ‘rolify_rows’ feature setting type
Instance Attribute Summary
Attributes inherited from FeatureSettingType
Instance Method Summary collapse
Methods inherited from FeatureSettingType
#ids, #model, #rows_allowed, #rows_count, #rows_remaining, #rows_unlimited?, #scope
Instance Method Details
#rows ⇒ Object
6 7 8 |
# File 'lib/paid_up/feature_setting_types/rolify.rb', line 6 def rows scope.with_role(:owner, user) end |