Class: Effective::ActiveStorageExtension
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Effective::ActiveStorageExtension
- Defined in:
- app/models/effective/active_storage_extension.rb
Constant Summary collapse
- PERMISSIONS =
['inherited', 'public']
Instance Method Summary collapse
Instance Method Details
#permission_inherited? ⇒ Boolean
22 23 24 |
# File 'app/models/effective/active_storage_extension.rb', line 22 def == 'inherited' end |
#permission_public? ⇒ Boolean
26 27 28 |
# File 'app/models/effective/active_storage_extension.rb', line 26 def == 'public' end |
#to_s ⇒ Object
18 19 20 |
# File 'app/models/effective/active_storage_extension.rb', line 18 def to_s .presence || 'active storage extension' end |