Sha256: c8697261341f5e16da629eb920a300c9ba340771f85e2196c755048a7092ece4

Contents?: true

Size: 159 Bytes

Versions: 5

Compression:

Stored size: 159 Bytes

Contents

module Chaskiq
  class Template < ActiveRecord::Base
    has_many :campaigns
    validates :body, presence: true
    validates :name, presence: true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chaskiq-0.0.6 app/models/chaskiq/template.rb
chaskiq-0.0.5 app/models/chaskiq/template.rb
chaskiq-0.0.4 app/models/chaskiq/template.rb
chaskiq-0.0.3 app/models/chaskiq/template.rb
chaskiq-0.0.2 app/models/chaskiq/template.rb