Sha256: 16e56ebb7ea129c08a1bc9853238bf3f868cff042783b9206df05556173398e6
Contents?: true
Size: 292 Bytes
Versions: 35
Compression:
Stored size: 292 Bytes
Contents
module BridgeCache::Webhooks class Request def initialize(payload) @payload = payload end def process message = BridgeCache::Webhooks::Message.new(@payload) message.payload_class.public_send("webhook_#{@payload['trigger']}".to_sym, message) end end end
Version data entries
35 entries across 35 versions & 1 rubygems