Sha256: dd0047376f897912ca48b0899dad55e0c784d544bc06d0fabfb450d23eb9cad6
Contents?: true
Size: 293 Bytes
Versions: 139
Compression:
Stored size: 293 Bytes
Contents
module Jets::Job::Helpers module S3EventHelper def s3_event message = event["Records"][0]["Sns"]["Message"] h = JSON.load(message) ActiveSupport::HashWithIndifferentAccess.new(h) end def s3_object s3_event["Records"][0]["s3"]["object"] end end end
Version data entries
139 entries across 139 versions & 3 rubygems