Sha256: d2836a4262ecbaa31cc9f2574934af0f704065ae7b39cb0c336a3cfdf6895482
Contents?: true
Size: 331 Bytes
Versions: 29
Compression:
Stored size: 331 Bytes
Contents
require "json" class CompareLinker class WebhookPayload def initialize(payload) @payload = payload @json = JSON.parse(@payload) end def action @json["action"] end def repo_full_name @json["repository"]["full_name"] end def pr_number @json["number"] end end end
Version data entries
29 entries across 29 versions & 1 rubygems