Sha256: b745096668b451ff469c87513eada6b3fa474474c600cdc342c45a6f594562b3

Contents?: true

Size: 410 Bytes

Versions: 11

Compression:

Stored size: 410 Bytes

Contents

class Ish::EmailUnsubscribe
  include Mongoid::Document
  include Mongoid::Timestamps

  field :email
  # validates_presence_of :email
  # validates_uniqueness_of :email

  field :lead_id
  field :reason
  field :unsubscribed_at

  belongs_to :campaign, class_name: '::Ish::EmailCampaign', inverse_of: :unsubscribes
  belongs_to :template, class_name: '::Ish::EmailTemplate', inverse_of: :unsubscribes


end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ish_models-0.0.33.281 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.280 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.279 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.278 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.277 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.276 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.275 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.274 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.273 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.272 lib/ish/email_unsubscribe.rb
ish_models-0.0.33.271 lib/ish/email_unsubscribe.rb