Orbit/vendor/built_in_modules/video/app/models/video.rb

9 lines
124 B
Ruby

class Video
include Mongoid::Document
include Mongoid::Timestamps
field :title
field :description
field :url
end