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

Instance Method Details

#configurationConfiguration

Returns shortcut method of configuration.

Returns:



9
10
11
# File 'lib/helpers/wallaby/configuration_helper.rb', line 9

def configuration
  Wallaby.configuration
end

#default_metadataObject

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

#featuresObject

Deprecated.


41
42
43
# File 'lib/helpers/wallaby/configuration_helper.rb', line 41

def features
  Deprecator.alert method(__callee__), from: '0.3.0'
end

#mappingObject

Deprecated.


21
22
23
# File 'lib/helpers/wallaby/configuration_helper.rb', line 21

def mapping
  Deprecator.alert method(__callee__), from: '0.3.0'
end

#modelsObject

Deprecated.


31
32
33
# File 'lib/helpers/wallaby/configuration_helper.rb', line 31

def models
  Deprecator.alert method(__callee__), from: '0.3.0'
end

#paginationObject

Deprecated.


36
37
38
# File 'lib/helpers/wallaby/configuration_helper.rb', line 36

def pagination
  Deprecator.alert method(__callee__), from: '0.3.0'
end

#securityObject

Deprecated.


26
27
28
# File 'lib/helpers/wallaby/configuration_helper.rb', line 26

def security
  Deprecator.alert method(__callee__), from: '0.3.0'
end

#sortingObject

Deprecated.


46
47
48
# File 'lib/helpers/wallaby/configuration_helper.rb', line 46

def sorting
  Deprecator.alert method(__callee__), from: '0.3.0'
end