shoden-contrib adds some sugar to play with Shoden
gem install shoden-contrib
class Person < Shoden::Model
include Shoden::DataTypes
attribute :age, Type::Integer
end
class Person < Shoden::Model
include Shoden::Default
attribute :name
default :name, 'John Doe'
end
class Person < Shoden::Model
include Shoden::Timestamps
end
person = Person.create
person.created_at
person.updated_at