Class: Servactory::Configuration::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/servactory/configuration/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#action_aliasesObject

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_handlersObject

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_shortcutsObject

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_namesObject

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_classObject

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_namesObject

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_keyObject

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_classObject

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_helpersObject

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_classObject

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_helpersObject

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_classObject

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_helpersObject

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_enabledObject

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_classObject

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_classObject

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