Sha256: 35e4d454281ff5a78749f48645fbe2bb17a74a29d53ad45537123c3a42331bcc
Contents?: true
Size: 468 Bytes
Versions: 15
Compression:
Stored size: 468 Bytes
Contents
require 'itamae' module Itamae class Notification < Struct.new(:runner, :defined_in_resource, :action, :target_resource_desc, :timing) def resource runner.children.find_resource_by_description(target_resource_desc) end def run(options) action_resource.run(action, options) end def action_resource resource end end class Subscription < Notification def action_resource defined_in_resource end end end
Version data entries
15 entries across 15 versions & 1 rubygems