Sha256: ede372283a431901cb5919b38d13b03820734d164d9cbefb015fc5ec614a1f02
Contents?: true
Size: 431 Bytes
Versions: 13
Compression:
Stored size: 431 Bytes
Contents
class ::Ish::EmailTemplate include Mongoid::Document include Mongoid::Timestamps field :slug validates_uniqueness_of :slug, scope: [ :version ] validates_presence_of :slug field :version, default: '0.0.0' TYPES = %w| partial plain | field :type def self.type_list [ [nil,nil] ] + TYPES.map { |i| [i, i] } end field :subject field :body field :from_email end EmailTemplate = ::Ish::EmailTemplate
Version data entries
13 entries across 13 versions & 1 rubygems