Sha256: 91b4e2a5125a9f69e491ba84d43e5e01311c201ef0762803ea9430a58fb9ffb5

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

module Wupee
  module Receiver
    extend ActiveSupport::Concern

    included do
      has_many :notifications, as: :receiver, dependent: :destroy, class_name: "Wupee::Notification"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wupee-2.0.0.beta2 app/models/concerns/wupee/receiver.rb
wupee-2.0.0.beta1 app/models/concerns/wupee/receiver.rb