Sha256: d57413ab990d0afb87fe36bf9ed4cb70407ce585a8f7d5f67875c30df221b4c1
Contents?: true
Size: 586 Bytes
Versions: 13
Compression:
Stored size: 586 Bytes
Contents
# Parent class for MountController and RackController class Jets::BareController < Jets::Controller::Base layout false internal true skip_forgery_protection private # Override process! so it doesnt go through the complete Jets project middleware stack which could interfer with # the mounted Rack app. def process! status, headers, body = dispatch! # Use the adapter only to convert the Rack triplet to a API Gateway hash structure adapter = Jets::Controller::Rack::Adapter.new(event, context) adapter.convert_to_api_gateway(status, headers, body) end end
Version data entries
13 entries across 13 versions & 1 rubygems