Sha256: 5f06507c1010583c3c42cdb07ef9445281e8b2cd3c26cb5154c0c9e335648004

Contents?: true

Size: 240 Bytes

Versions: 19

Compression:

Stored size: 240 Bytes

Contents

module WebhookSystem
  class SubscriptionTopic < ActiveRecord::Base
    self.table_name = 'webhook_subscription_topics'

    validates :name, presence: true

    belongs_to :subscription, class_name: 'WebhookSystem::Subscription'
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
webhook_system-2.3.1 lib/webhook_system/subscription_topic.rb
webhook_system-2.3.0 lib/webhook_system/subscription_topic.rb
webhook_system-2.2.0 lib/webhook_system/subscription_topic.rb
webhook_system-2.1.6 lib/webhook_system/subscription_topic.rb
webhook_system-2.1.5 lib/webhook_system/subscription_topic.rb
webhook_system-2.1.4 lib/webhook_system/subscription_topic.rb
webhook_system-2.1.3 lib/webhook_system/subscription_topic.rb
webhook_system-2.1.2 lib/webhook_system/subscription_topic.rb
webhook_system-2.1.1 lib/webhook_system/subscription_topic.rb
webhook_system-2.1.0 lib/webhook_system/subscription_topic.rb
webhook_system-2.0.0 lib/webhook_system/subscription_topic.rb
webhook_system-1.0.4 lib/webhook_system/subscription_topic.rb
webhook_system-1.0.3 lib/webhook_system/subscription_topic.rb
webhook_system-1.0.2 lib/webhook_system/subscription_topic.rb
webhook_system-1.0.1 lib/webhook_system/subscription_topic.rb
webhook_system-1.0.0 lib/webhook_system/subscription_topic.rb
webhook_system-0.1.1 lib/webhook_system/subscription_topic.rb
webhook_system-0.1.0 lib/webhook_system/subscription_topic.rb
webhook_system-0.0.1 lib/webhook_system/subscription_topic.rb