Class: AttributesMapper::Configuration
- Inherits:
-
Object
- Object
- AttributesMapper::Configuration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/attributes-mapper/configuration.rb
Instance Method Summary collapse
- #apply_input_data_transform? ⇒ Boolean
- #ordered_path_context_names ⇒ Object
- #source_data_wrapper_class? ⇒ Boolean
Instance Method Details
#apply_input_data_transform? ⇒ Boolean
19 20 21 |
# File 'lib/attributes-mapper/configuration.rb', line 19 def apply_input_data_transform? apply_input_data_transform_proc.is_a?(Proc) end |
#ordered_path_context_names ⇒ Object
11 12 13 |
# File 'lib/attributes-mapper/configuration.rb', line 11 def ordered_path_context_names required_attributes + optional_attributes end |
#source_data_wrapper_class? ⇒ Boolean
15 16 17 |
# File 'lib/attributes-mapper/configuration.rb', line 15 def source_data_wrapper_class? source_data_wrapper_class.present? end |