class FlashFlow::Notifier::Base
Public Class Methods
new(config=nil)
click to toggle source
# File lib/flash_flow/notifier.rb, line 6 def initialize(config=nil) notifier_class_name = config && config['class'] && config['class']['name'] return unless notifier_class_name @notifier_class = Object.const_get(notifier_class_name) @notifier = @notifier_class.new(config['class']) end
Public Instance Methods
deleted_branch(branch)
click to toggle source
# File lib/flash_flow/notifier.rb, line 18 def deleted_branch(branch) @notifier.deleted_branch(branch) if @notifier.respond_to?(:deleted_branch) end
merge_conflict(branch)
click to toggle source
# File lib/flash_flow/notifier.rb, line 14 def merge_conflict(branch) @notifier.merge_conflict(branch) if @notifier.respond_to?(:merge_conflict) end