Orbit/app/models/purchase/purchase.rb

12 lines
186 B
Ruby

class Purchase
include Mongoid::Document
include Mongoid::Timestamps
field :purchase_id
field :title
field :author
field :intro
field :downloaded, :type => Boolean
end