Method: ActiveData::Model::Representation::ClassMethods#represented_attributes

Defined in:
lib/active_data/model/representation.rb

#represented_attributesObject



39
40
41
42
43
# File 'lib/active_data/model/representation.rb', line 39

def represented_attributes
  @represented_attributes ||= _attributes.values.select do |attribute|
    attribute.is_a? ActiveData::Model::Attributes::Reflections::Represents
  end
end