Sha256: 0601959c6719bf984c07079250371180e1c5e146588870d22cf3b43ddb607361
Contents?: true
Size: 390 Bytes
Versions: 15
Compression:
Stored size: 390 Bytes
Contents
require "github/event" module Github class PostReceiveEvent < Event # https://developer.github.com/v3/activity/events/types/#pushevent def process! Rails.logger.info "\e[34m[github] Processing Post-Receive Event\e[0m" project = Project.find_by_slug! payload["repository"]["name"] Houston.observer.fire "hooks:post_receive", project, payload end end end
Version data entries
15 entries across 15 versions & 1 rubygems