epaper/app/models/e_paper_subscriber.rb

11 lines
198 B
Ruby
Raw Normal View History

2019-05-28 15:54:32 +00:00
class EPaperSubscriber
include Mongoid::Document
include Mongoid::Timestamps
field :email
field :subscribed, type: Boolean, :default => true
field :language
field :last_paper_sent
end