Sha256: 52b6e92c4fdeaf8c3d4a749ed4b89e86134c4802f64be77b74086107c8ca2da5
Contents?: true
Size: 246 Bytes
Versions: 3
Compression:
Stored size: 246 Bytes
Contents
# frozen_string_literal: true module Thermos module Notifier extend ActiveSupport::Concern included do after_save :notify_thermos end private def notify_thermos RefillJob.perform_later self end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thermos-0.2.1 | lib/thermos/notifier.rb |
thermos-0.2.0 | lib/thermos/notifier.rb |
thermos-0.1.1 | lib/thermos/notifier.rb |