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.161 lib/ish/campaign.rb
ish_models-0.0.33.160 lib/ish/campaign.rb
ish_models-0.0.33.159 lib/ish/campaign.rb
ish_models-0.0.33.158 lib/ish/campaign.rb
ish_models-0.0.33.157 lib/ish/campaign.rb
ish_models-0.0.33.156 lib/ish/campaign.rb
ish_models-0.0.33.154 lib/ish/campaign.rb
ish_models-0.0.33.153 lib/ish/campaign.rb
ish_models-0.0.33.152 lib/ish/campaign.rb
ish_models-0.0.33.151 lib/ish/campaign.rb
ish_models-0.0.33.150 lib/ish/campaign.rb
ish_models-0.0.33.149 lib/ish/campaign.rb
ish_models-0.0.33.148 lib/ish/campaign.rb
ish_models-0.0.33.147 lib/ish/campaign.rb
ish_models-0.0.33.146 lib/ish/campaign.rb
ish_models-0.0.33.145 lib/ish/campaign.rb
ish_models-0.0.33.144 lib/ish/campaign.rb
ish_models-0.0.33.143 lib/ish/campaign.rb
ish_models-0.0.33.142 lib/ish/campaign.rb
ish_models-0.0.33.141 lib/ish/campaign.rb