Sha256: dc14622fc35420d06d56fcc134c861c7fe222f01382f10ca6c9bd1e3eb9ab5fe
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
module NotificationHandler module Target def self.included base base.extend ClassMethods end module ClassMethods def notification_target has_many :notifications, as: :target, dependent: :destroy include NotificationHandler::Target::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/target.rb |