class Buildkite::Builder::Extensions::Notify
Public Instance Methods
notify(*args)
click to toggle source
# File lib/buildkite/builder/extensions/notify.rb, line 10 def notify(*args) if args.first.is_a?(Hash) context.data.notify.push(args.first.transform_keys(&:to_s)) else raise ArgumentError, 'value must be hash' end end
prepare()
click to toggle source
# File lib/buildkite/builder/extensions/notify.rb, line 5 def prepare context.data.notify = [] end