Sha256: e1cb3573f329841bbec9a9b2da769d88697dbab2747b7dd8ae50c66a3f4621b3

Contents?: true

Size: 200 Bytes

Versions: 23

Compression:

Stored size: 200 Bytes

Contents

module MessageTrain
  class Unsubscribe < ActiveRecord::Base
    belongs_to :recipient, polymorphic: true
    belongs_to :from, polymorphic: true
    validates_presence_of :recipient, :from
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
message_train-0.5.0 app/models/message_train/unsubscribe.rb
message_train-0.4.6 app/models/message_train/unsubscribe.rb
message_train-0.4.5 app/models/message_train/unsubscribe.rb
message_train-0.4.4 app/models/message_train/unsubscribe.rb
message_train-0.4.3 app/models/message_train/unsubscribe.rb
message_train-0.4.2 app/models/message_train/unsubscribe.rb
message_train-0.4.1 app/models/message_train/unsubscribe.rb
message_train-0.4.0 app/models/message_train/unsubscribe.rb
message_train-0.3.1 app/models/message_train/unsubscribe.rb
message_train-0.3.0 app/models/message_train/unsubscribe.rb
message_train-0.2.12 app/models/message_train/unsubscribe.rb
message_train-0.2.11 app/models/message_train/unsubscribe.rb
message_train-0.2.10 app/models/message_train/unsubscribe.rb
message_train-0.2.9 app/models/message_train/unsubscribe.rb
message_train-0.2.8 app/models/message_train/unsubscribe.rb
message_train-0.2.7 app/models/message_train/unsubscribe.rb
message_train-0.2.6 app/models/message_train/unsubscribe.rb
message_train-0.2.5 app/models/message_train/unsubscribe.rb
message_train-0.2.4 app/models/message_train/unsubscribe.rb
message_train-0.2.3 app/models/message_train/unsubscribe.rb