module Datamappify::Entity::Composable::DSL

Public Instance Methods

attributes_from(entity_class, options = {}) click to toggle source

@param entity_class [Entity]

@param options [Hash]

@return [void]

# File lib/datamappify/entity/composable.rb, line 18
def attributes_from(entity_class, options = {})
  Attributes.build(self, entity_class, options)
  Validators.build(self, entity_class, options)
end