Module: Wallaby::ConfigurationHelper
- Included in:
- ApplicationHelper
- Defined in:
- lib/helpers/wallaby/configuration_helper.rb
Overview
Configuration helper module. Provide shortcut methods to configurations.
Instance Method Summary collapse
-
#configuration ⇒ Configuration
Shortcut method of configuration.
- #default_metadata ⇒ Object deprecated Deprecated.
- #features ⇒ Object deprecated Deprecated.
- #mapping ⇒ Object deprecated Deprecated.
- #models ⇒ Object deprecated Deprecated.
- #pagination ⇒ Object deprecated Deprecated.
- #security ⇒ Object deprecated Deprecated.
- #sorting ⇒ Object deprecated Deprecated.
Instance Method Details
#configuration ⇒ Configuration
Returns shortcut method of configuration.
9 10 11 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 9 def configuration Wallaby.configuration end |
#default_metadata ⇒ Object
Deprecated.
14 15 16 17 18 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 14 def Deprecator.alert 'default_metadata.max', from: '0.3.0', alternative: <<~INSTRUCTION Please use `max_text_length` instead INSTRUCTION end |
#features ⇒ Object
Deprecated.
41 42 43 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 41 def features Deprecator.alert method(__callee__), from: '0.3.0' end |
#mapping ⇒ Object
Deprecated.
21 22 23 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 21 def mapping Deprecator.alert method(__callee__), from: '0.3.0' end |
#models ⇒ Object
Deprecated.
31 32 33 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 31 def models Deprecator.alert method(__callee__), from: '0.3.0' end |
#pagination ⇒ Object
Deprecated.
36 37 38 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 36 def pagination Deprecator.alert method(__callee__), from: '0.3.0' end |
#security ⇒ Object
Deprecated.
26 27 28 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 26 def security Deprecator.alert method(__callee__), from: '0.3.0' end |
#sorting ⇒ Object
Deprecated.
46 47 48 |
# File 'lib/helpers/wallaby/configuration_helper.rb', line 46 def sorting Deprecator.alert method(__callee__), from: '0.3.0' end |