Sha256: 209e10bc0bc2be936bf638882f1c5452d69457af57c671956cff7ce21482e040
Contents?: true
Size: 383 Bytes
Versions: 4
Compression:
Stored size: 383 Bytes
Contents
require 'git-webhook/notifier' require 'git-webhook/builder' module GitWebhook class Core def initialize(old, new, ref, repository_path, options = {}) @data_hash = GitWebhook::Builder.new(old, new, ref, repository_path, options).data_hash end def notify(url) notifier = GitWebhook::Notifier.new(@data_hash) notifier.notify(url) end end end
Version data entries
4 entries across 4 versions & 3 rubygems