epaper/app/models/e_paper_subscriber.rb

11 lines
198 B
Ruby

class EPaperSubscriber
include Mongoid::Document
include Mongoid::Timestamps
field :email
field :subscribed, type: Boolean, :default => true
field :language
field :last_paper_sent
end