Class: Servactory::Configuration::Config
- Inherits:
-
Object
- Object
- Servactory::Configuration::Config
- Defined in:
- lib/servactory/configuration/config.rb
Instance Attribute Summary collapse
-
#action_aliases ⇒ Object
Returns the value of attribute action_aliases.
-
#action_rescue_handlers ⇒ Object
Returns the value of attribute action_rescue_handlers.
-
#action_shortcuts ⇒ Object
Returns the value of attribute action_shortcuts.
-
#collection_mode_class_names ⇒ Object
Returns the value of attribute collection_mode_class_names.
-
#failure_class ⇒ Object
Returns the value of attribute failure_class.
-
#hash_mode_class_names ⇒ Object
Returns the value of attribute hash_mode_class_names.
-
#i18n_root_key ⇒ Object
Returns the value of attribute i18n_root_key.
-
#input_exception_class ⇒ Object
Returns the value of attribute input_exception_class.
-
#input_option_helpers ⇒ Object
Returns the value of attribute input_option_helpers.
-
#internal_exception_class ⇒ Object
Returns the value of attribute internal_exception_class.
-
#internal_option_helpers ⇒ Object
Returns the value of attribute internal_option_helpers.
-
#output_exception_class ⇒ Object
Returns the value of attribute output_exception_class.
-
#output_option_helpers ⇒ Object
Returns the value of attribute output_option_helpers.
-
#predicate_methods_enabled ⇒ Object
Returns the value of attribute predicate_methods_enabled.
-
#result_class ⇒ Object
Returns the value of attribute result_class.
-
#success_class ⇒ Object
Returns the value of attribute success_class.
Instance Method Summary collapse
-
#initialize_dup(original) ⇒ Object
rubocop:disable Metrics/AbcSize.
Instance Attribute Details
#action_aliases ⇒ Object
Returns the value of attribute action_aliases.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def action_aliases @action_aliases end |
#action_rescue_handlers ⇒ Object
Returns the value of attribute action_rescue_handlers.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def action_rescue_handlers @action_rescue_handlers end |
#action_shortcuts ⇒ Object
Returns the value of attribute action_shortcuts.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def action_shortcuts @action_shortcuts end |
#collection_mode_class_names ⇒ Object
Returns the value of attribute collection_mode_class_names.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def collection_mode_class_names @collection_mode_class_names end |
#failure_class ⇒ Object
Returns the value of attribute failure_class.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def failure_class @failure_class end |
#hash_mode_class_names ⇒ Object
Returns the value of attribute hash_mode_class_names.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def hash_mode_class_names @hash_mode_class_names end |
#i18n_root_key ⇒ Object
Returns the value of attribute i18n_root_key.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def i18n_root_key @i18n_root_key end |
#input_exception_class ⇒ Object
Returns the value of attribute input_exception_class.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def input_exception_class @input_exception_class end |
#input_option_helpers ⇒ Object
Returns the value of attribute input_option_helpers.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def input_option_helpers @input_option_helpers end |
#internal_exception_class ⇒ Object
Returns the value of attribute internal_exception_class.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def internal_exception_class @internal_exception_class end |
#internal_option_helpers ⇒ Object
Returns the value of attribute internal_option_helpers.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def internal_option_helpers @internal_option_helpers end |
#output_exception_class ⇒ Object
Returns the value of attribute output_exception_class.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def output_exception_class @output_exception_class end |
#output_option_helpers ⇒ Object
Returns the value of attribute output_option_helpers.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def output_option_helpers @output_option_helpers end |
#predicate_methods_enabled ⇒ Object
Returns the value of attribute predicate_methods_enabled.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def predicate_methods_enabled @predicate_methods_enabled end |
#result_class ⇒ Object
Returns the value of attribute result_class.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def result_class @result_class end |
#success_class ⇒ Object
Returns the value of attribute success_class.
6 7 8 |
# File 'lib/servactory/configuration/config.rb', line 6 def success_class @success_class end |
Instance Method Details
#initialize_dup(original) ⇒ Object
rubocop:disable Metrics/AbcSize
23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/servactory/configuration/config.rb', line 23 def initialize_dup(original) # rubocop:disable Metrics/AbcSize super @action_shortcuts = original.action_shortcuts.dup @action_aliases = original.action_aliases.dup @input_option_helpers = original.input_option_helpers.dup @internal_option_helpers = original.internal_option_helpers.dup @output_option_helpers = original.output_option_helpers.dup @collection_mode_class_names = original.collection_mode_class_names.dup @hash_mode_class_names = original.hash_mode_class_names.dup @action_rescue_handlers = original.action_rescue_handlers.dup end |