Class: Foobara::Generators::DomainMapperGenerator::DomainMapperConfig

Inherits:
Model
  • Object
show all
Defined in:
foobara-domain-mapper-generator-0.0.4/src/domain_mapper_config.rb

Constant Summary

Constants inherited from Model

Model::ALLOWED_OPTIONS

Instance Attribute Summary

Attributes inherited from Model

#mutable, #skip_validations

Instance Method Summary collapse

Methods inherited from Model

#==, abstract, abstract?, attribute_names, #attributes, #attributes_with_delegates, #cast_attribute, #cast_attribute!, closest_namespace_module, description, domain, domain_name, #eql?, foobara_model_name, foobara_name, full_model_name, #hash, #initialize, install!, organization_name, possible_errors, #read_attribute, #read_attribute!, reset_all, subclass, #to_h, #to_json, #valid?, valid_attribute_name?, #validate!, validate_attribute_name!, #validation_errors, #write_attribute, #write_attribute!, #write_attributes, #write_attributes!

Methods included from Concern

foobara_class_methods_module_for, foobara_concern?, included

Constructor Details

This class inherits a constructor from Foobara::Model

Instance Method Details

#module_pathObject

[View source]

12
13
14
# File 'foobara-domain-mapper-generator-0.0.4/src/domain_mapper_config.rb', line 12

def module_path
  @module_path ||= name.split("::")
end