Sha256: d52ffe7a7365af7907cd5fcf7e93dc4cd939240d93839fb59c0561a7267ee4fb

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

module SimpleNotifications
  class Delivery < ActiveRecord::Base
    self.table_name = 'deliveries'

    # --- Associations --- #
    belongs_to :simple_notification, class_name: 'SimpleNotifications::Record', inverse_of: :deliveries
    belongs_to :receiver, polymorphic: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_notifications-1.0.3 lib/simple_notifications/app/models/delivery.rb