Sha256: fd07fde687037de8389c32a71f9ab270648644010b7554470d9e099009a3ca75

Contents?: true

Size: 597 Bytes

Versions: 40

Compression:

Stored size: 597 Bytes

Contents

class Ish::Campaign
  include Mongoid::Document
  include Mongoid::Timestamps

  store_in :collection => 'ish_campaign'

  belongs_to :profile, :class_name => 'Ish::UserProfile'

  has_and_belongs_to_many :leads,             :class_name => 'Ish::Lead'
  has_and_belongs_to_many :unsubscribe_leads, :class_name => 'Ish::Lead'

  field :subject
  field :body

  field :is_done,  :type => Boolean, :default => false
  field :is_trash, :type => Boolean, :default => false

  field :applied_on, :type => Time

  field :tag # 'hired_com_ror', not enumerated for now _vp_ 20180103
  field :location

end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
ish_models-0.0.33.183 lib/ish/campaign.rb
ish_models-0.0.33.182 lib/ish/campaign.rb
ish_models-0.0.33.181 lib/ish/campaign.rb
ish_models-0.0.33.180 lib/ish/campaign.rb
ish_models-0.0.33.179 lib/ish/campaign.rb
ish_models-0.0.33.178 lib/ish/campaign.rb
ish_models-0.0.33.177 lib/ish/campaign.rb
ish_models-0.0.33.176 lib/ish/campaign.rb
ish_models-0.0.33.175 lib/ish/campaign.rb
ish_models-0.0.33.174 lib/ish/campaign.rb
ish_models-0.0.33.173 lib/ish/campaign.rb
ish_models-0.0.33.172 lib/ish/campaign.rb
ish_models-0.0.33.170 lib/ish/campaign.rb
ish_models-0.0.33.169 lib/ish/campaign.rb
ish_models-0.0.33.168 lib/ish/campaign.rb
ish_models-0.0.33.167 lib/ish/campaign.rb
ish_models-0.0.33.166 lib/ish/campaign.rb
ish_models-0.0.33.164 lib/ish/campaign.rb
ish_models-0.0.33.163 lib/ish/campaign.rb
ish_models-0.0.33.162 lib/ish/campaign.rb