Method: Datamappify::Entity::Relation::DSL#create_attribute

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

#create_attribute(name, type, *args) ⇒ void (private)

This method returns an undefined value.

Parameters:

  • name (Symbol)
  • type (Class)
  • options (any)


48
49
50
# File 'lib/datamappify/entity/relation.rb', line 48

def create_attribute(name, type, *args)
  attribute name, type, *args
end