orbit-basic/app/models/purchase/purchase.rb

12 lines
186 B
Ruby
Raw Normal View History

2011-08-18 05:43:33 +00:00
class Purchase
include Mongoid::Document
include Mongoid::Timestamps
field :purchase_id
field :title
field :author
field :intro
field :downloaded, :type => Boolean
2011-08-18 05:43:33 +00:00
end