module DataMapped::Model
Public Class Methods
included(other)
click to toggle source
# File lib/data_mapped/model.rb, line 16 def self.included(other) other.class_eval do include DataMapper::Resource property :id, DataMapper::Property::Serial property :created_at, DataMapper::Property::DateTime property :updated_at, DataMapper::Property::DateTime end end