# frozen_string_literal: true module Thermos module Notifier extend ActiveSupport::Concern included { after_commit :notify_thermos, on: %i[create update] } private def notify_thermos RefillJob.perform_later self end end end