Sha256: 55e5234e854d1438c299f843b13f38f44a72107b53eadff9fa2fe3dfaffacce4
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
module NotificationHandler module Object def self.included base base.extend ClassMethods end module ClassMethods def notification_object has_many :notifications, as: :object, dependent: :destroy include NotificationHandler::Object::InstanceMethods include NotificationHandler::Library end end module InstanceMethods # ... end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notification-handler-1.0.0.beta1 | lib/notification_handler/object.rb |