Method: Datamappify::Entity::Relation::DSL#record_attribute

Defined in:
lib/datamappify/entity/relation.rb

#record_attribute(attribute_name) ⇒ Array (private)

Parameters:

  • attribute_name (Symbol)

Returns:

  • (Array)


55
56
57
# File 'lib/datamappify/entity/relation.rb', line 55

def record_attribute(attribute_name)
  self.reference_keys << attribute_name
end