Class: Candies::Server::Json
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Candies::Server::Base
Instance Method Details
#call(env) ⇒ Object
5 6 7 8 |
# File 'lib/candies/server/json.rb', line 5 def call(env) @request = Rack::Request.new(env) [status, headers, body] end |