This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
class Purchase
|
|
include Mongoid::Document
|
|
include Mongoid::Timestamps
|
|
|
|
field :purchase_id
|
|
field :title
|
|
field :author
|
|
field :intro
|
|
field :downloaded, :type => Boolean
|
|
field :download_date, :type => Date
|
|
|
|
field :type
|
|
field :app_controller
|
|
has_many :app_auths
|
|
|
|
end
|