Module: EffectiveStorage
- Includes:
- EffectiveGem
- Defined in:
- lib/effective_storage.rb,
lib/effective_storage/engine.rb,
lib/effective_storage/version.rb,
lib/generators/effective_storage/install_generator.rb
Defined Under Namespace
Modules: Generators
Classes: Engine
Constant Summary
collapse
- VERSION =
'0.4.6'.freeze
Class Method Summary
collapse
Class Method Details
.authorize_active_storage? ⇒ Boolean
14
15
16
|
# File 'lib/effective_storage.rb', line 14
def self.authorize_active_storage?
authorize_active_storage == true
end
|
.config_keys ⇒ Object
8
9
10
|
# File 'lib/effective_storage.rb', line 8
def self.config_keys
[:layout, :authorize_active_storage, :never_delete, :skip_notification]
end
|
.never_delete? ⇒ Boolean
18
19
20
|
# File 'lib/effective_storage.rb', line 18
def self.never_delete?
never_delete == true
end
|
.skip_notification? ⇒ Boolean
22
23
24
|
# File 'lib/effective_storage.rb', line 22
def self.skip_notification?
skip_notification == true
end
|
.skip_notifications ⇒ Object
26
27
28
|
# File 'lib/effective_storage.rb', line 26
def self.skip_notifications
Array(skip_notification)
end
|