Sha256: a388d4e2293d4659c2198938948b1d0ce80d579a35a1414410590affb164a531
Contents?: true
Size: 592 Bytes
Versions: 54
Compression:
Stored size: 592 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, meth) adapter.convert_to_api_gateway(status, headers, body) end end
Version data entries
54 entries across 54 versions & 2 rubygems