Sha256: 0c30e0c13b980e2d7f5332c0b742d27a78ad6c7f54c8297b4d8ff22e4eb9d41d

Contents?: true

Size: 199 Bytes

Versions: 10

Compression:

Stored size: 199 Bytes

Contents

module Mailkick
  class Subscription < ActiveRecord::Base
    self.table_name = "mailkick_subscriptions"

    belongs_to :subscriber, polymorphic: true

    validates :list, presence: true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mailkick-1.3.1 app/models/mailkick/subscription.rb
mailkick-1.3.0 app/models/mailkick/subscription.rb
mailkick-1.2.2 app/models/mailkick/subscription.rb
mailkick-1.2.1 app/models/mailkick/subscription.rb
mailkick-1.2.0 app/models/mailkick/subscription.rb
mailkick-1.1.2 app/models/mailkick/subscription.rb
mailkick-1.1.1 app/models/mailkick/subscription.rb
mailkick-1.1.0 app/models/mailkick/subscription.rb
mailkick-1.0.1 app/models/mailkick/subscription.rb
mailkick-1.0.0 app/models/mailkick/subscription.rb