Sha256: d38e4a4c126e0e65e5eb2ebe1d566090ff92736d82d2abc27e82b9c99162173d
Contents?: true
Size: 348 Bytes
Versions: 12
Compression:
Stored size: 348 Bytes
Contents
module BridgeCache module Webhooks class Message attr_reader :payload def initialize(payload) @payload = payload end def resource_object @payload[@payload['resource']] end def payload_class "BridgeCache::#{@payload['resource'].camelcase}".constantize end end end end
Version data entries
12 entries across 12 versions & 1 rubygems