Sha256: aea271f743ce88da5f985c90a366376b00f061aeafeb780a60072d8282818e0d

Contents?: true

Size: 603 Bytes

Versions: 35

Compression:

Stored size: 603 Bytes

Contents

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

  store_in :collection => 'ish_campaign'

  belongs_to :profile, :class_name => 'IshModels::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

35 entries across 35 versions & 1 rubygems

Version Path
ish_models-0.0.33.140 lib/ish/campaign.rb
ish_models-0.0.33.139 lib/ish/campaign.rb
ish_models-0.0.33.138 lib/ish/campaign.rb
ish_models-0.0.33.137 lib/ish/campaign.rb
ish_models-0.0.33.136 lib/ish/campaign.rb
ish_models-0.0.33.135 lib/ish/campaign.rb
ish_models-0.0.33.134 lib/ish/campaign.rb
ish_models-0.0.33.133 lib/ish/campaign.rb
ish_models-0.0.33.132 lib/ish/campaign.rb
ish_models-0.0.33.131 lib/ish/campaign.rb
ish_models-0.0.33.130 lib/ish/campaign.rb
ish_models-0.0.33.129 lib/ish/campaign.rb
ish_models-0.0.33.128 lib/ish/campaign.rb
ish_models-0.0.33.127 lib/ish/campaign.rb
ish_models-0.0.33.124 lib/ish/campaign.rb
ish_models-0.0.33.123 lib/ish/campaign.rb
ish_models-0.0.33.122 lib/ish/campaign.rb
ish_models-0.0.33.121 lib/ish/campaign.rb
ish_models-0.0.33.120 lib/ish/campaign.rb
ish_models-0.0.33.119 lib/ish/campaign.rb