Github::Payload

GitHub::Payload provides a set of helpers for formatting GitHub payloads. Historically, github-services is built on a bunch of scripts that massage GitHub events and sends them off to third parties. New services need to accept the unmodifier payload in order to be accepted. This gem serves as a bunch of test data for people building things around these kinds of payloads. It also offers some simple formatting ideal for receiving the payload and passing it on to another services.

Installation

Add this line to your application's Gemfile:

gem 'github-payload'

Usage

require 'github/payload'

event = GitHub::Payload.for(payload)
event.summary_message
event.summary_url

Contributing

  1. Fork it, cnew Pull Request