Method: Datamappify::Data::Mapper::Attribute#secondary_attribute?

Defined in:
lib/datamappify/data/mapper/attribute.rb

#secondary_attribute?Boolean

Secondary attribute is from the same data provider but a different source class

Returns:

  • (Boolean)


130
131
132
# File 'lib/datamappify/data/mapper/attribute.rb', line 130

def secondary_attribute?
  provider_name == primary_provider_name && primary_source_class != source_class
end