Class: Jets::RackController

Inherits:
Controller::Base show all
Defined in:
lib/jets/internal/app/controllers/jets/rack_controller.rb

Instance Attribute Summary

Attributes inherited from Controller::Base

#request, #response

Attributes inherited from Lambda::Functions

#context, #event, #meth

Instance Method Summary collapse

Methods inherited from Controller::Base

#initialize, internal, process

Methods included from Controller::Params

#params

Methods included from Controller::Rendering

#actual_host, #add_stage_name, #adjust_content_type!, #default_layout, #ensure_render, #managed_options, #normalize_options, #render, #url_for

Methods included from Controller::Redirection

#ensure_protocol, #redirect_to

Methods inherited from Lambda::Functions

#initialize

Methods included from Lambda::Dsl

add_custom_resource_extensions, included, #lambda_functions

Constructor Details

This class inherits a constructor from Jets::Controller::Base

Instance Method Details

#processObject

Megamode



6
7
8
9
# File 'lib/jets/internal/app/controllers/jets/rack_controller.rb', line 6

def process
  resp = rack_request
  render(resp)
end