Sha256: 0b3bfab1ee39c217a8903e3b394b13ff5dbfae1408e4784dab43867dc6b55d48
Contents?: true
Size: 436 Bytes
Versions: 5
Compression:
Stored size: 436 Bytes
Contents
module FaaStRuby class Event attr_accessor :body, :query_params, :headers, :context def initialize(body:, query_params:, headers:, context:) @body = body @query_params = query_params @headers = headers @context = context end def to_h { "body" => @body, "query_params" => @query_params, "headers" => @headers, "context" => @context } end end end
Version data entries
5 entries across 5 versions & 1 rubygems